Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
520 Views

Error creating an exe

I tried creating an exe for the face recognition model that uses the python inference engine demo. I used pyinstaller (version 3.5 and 3.6) as well as py2exe. However, I ran into errors.

The two commands I tested in pyinstaller are :

pyinstaller --onefile --add-data "C:\Program Files (x86)\IntelSWTools\openvino_2020.2.117\deployment_tools\inference_engine\bin\intel64\Release\plugins.xml;." face_recognition_demo_.py

 

pyinstaller --onedir --add-data "C:\Program Files (x86)\IntelSWTools\openvino_2020.2.117\deployment_tools\inference_engine\bin\intel64\Release\plugins.xml;." face_recognition_demo_.py

When running the above code for exe generation, there are quite a few warnings which are also written in the error logs below:

 

This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running you program. Python and
Python 3rd-party packages include a lot of conditional or optional module. For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.

Types if import:
* top-level: imported at the top-level - look at these first
* conditional: imported within an if-statement
* delayed: imported from within a function
* optional: imported within a try-except-statement

IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
           yourself tracking down the missing module. Thanks!

missing module named System - imported by traitlets.traitlets (delayed, conditional), IPython.utils._process_cli (top-level)
missing module named __builtin__ - imported by numpy.core.numerictypes (conditional), numpy.core.numeric (conditional), numpy.lib.function_base (conditional), numpy.lib._iotools (conditional), numpy.ma.core (conditional), scipy._lib.six (conditional), numpy.distutils.misc_util (delayed, conditional), numpy (conditional), pyparsing (conditional), ipython_genutils.py3compat (conditional), ptyprocess.ptyprocess (optional), jedi._compatibility (optional), pkg_resources._vendor.pyparsing (conditional), setuptools._vendor.pyparsing (conditional)
missing module named StringIO - imported by PyInstaller.lib.modulegraph._compat (conditional), PyInstaller.lib.modulegraph.zipio (conditional), setuptools._vendor.six (conditional), numpy.testing._private.utils (conditional), numpy.lib.utils (delayed, conditional), numpy.lib.format (delayed, conditional), scipy._lib.six (conditional), six (conditional), urllib3.packages.six (conditional), requests.compat (conditional), joblib.externals.cloudpickle.cloudpickle (delayed, conditional, optional), pkg_resources._vendor.six (conditional)
missing module named 'multiprocessing.forking' - imported by joblib._multiprocessing_helpers (conditional, optional), joblib.externals.loky.backend.compat_win32 (conditional), joblib.externals.loky.backend.reduction (conditional), joblib.externals.loky.backend.context (conditional), c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py (optional)
missing module named fcntl - imported by pty (delayed, optional), ptyprocess.ptyprocess (top-level), tornado.platform.posix (top-level), xmlrpc.server (optional), zmq.eventloop.minitornado.platform.posix (top-level), prompt_toolkit.output.vt100 (delayed)
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level), joblib.externals.loky.backend.context (conditional)
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level), joblib._parallel_backends (conditional)
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
missing module named multiprocessing.Process - imported by multiprocessing (top-level), jupyter_client.ssh.tunnel (top-level), zmq.ssh.tunnel (top-level), zmq.devices.basedevice (top-level)
missing module named multiprocessing.Pool - imported by multiprocessing (top-level), scipy._lib._util (top-level)
missing module named multiprocessing.Manager - imported by multiprocessing (optional), nose.plugins.plugintest (optional)
missing module named multiprocessing.current_process - imported by multiprocessing (delayed), nose.plugins.plugintest (delayed)
missing module named 'win32com.gen_py' - imported by win32com (conditional, optional), c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_win32comgenpy.py (top-level)
missing module named pyimod03_importers - imported by PyInstaller.loader.pyimod02_archive (delayed, conditional), c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py (top-level)
missing module named 'com.sun' - imported by pkg_resources._vendor.appdirs (delayed, conditional, optional)
missing module named com - imported by pkg_resources._vendor.appdirs (delayed)
missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.requirements (top-level), pkg_resources._vendor.packaging.markers (top-level)
missing module named _uuid - imported by uuid (optional)
missing module named ordereddict - imported by pyparsing (optional), pkg_resources._vendor.pyparsing (optional), setuptools._vendor.pyparsing (optional)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named 'macholib.MachO' - imported by PyInstaller.depend.dylib (delayed), PyInstaller.depend.bindepend (delayed), PyInstaller.utils.osx (top-level)
missing module named macholib - imported by PyInstaller.depend.dylib (delayed, conditional)
missing module named _pkgutil - imported by PyInstaller.lib.modulegraph.modulegraph (delayed, optional)
missing module named dis3 - imported by PyInstaller.lib.modulegraph._compat (conditional)
missing module named urllib.pathname2url - imported by urllib (conditional), PyInstaller.lib.modulegraph._compat (conditional), jsonschema.compat (conditional)
missing module named pyimod00_crypto_key - imported by PyInstaller.loader.pyimod02_archive (delayed, optional)
missing module named thread - imported by numpy.core.arrayprint (conditional, optional), PyInstaller.loader.pyimod02_archive (conditional), urllib3.packages.ordered_dict (optional), zmq.eventloop.minitornado.ioloop (optional), ipykernel.parentpoller (optional)
missing module named 'macholib.dyld' - imported by PyInstaller.depend.bindepend (delayed)
missing module named 'macholib.mach_o' - imported by PyInstaller.depend.bindepend (delayed)
missing module named Crypto - imported by PyInstaller.building.makespec (delayed, conditional, optional)
missing module named win32ctypes.core._time - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level)
missing module named win32ctypes.core._system_information - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level)
missing module named win32ctypes.core._resource - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level)
missing module named win32ctypes.core._dll - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level)
missing module named win32ctypes.core._common - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level), win32ctypes.pywin32.win32cred (top-level)
missing module named win32ctypes.core._authentication - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32cred (top-level)
missing module named cffi - imported by win32ctypes.core (optional), scipy._lib._ccallback (delayed, optional), zmq.utils.interop (delayed, optional), PIL.Image (optional), PIL.PyAccess (top-level), PIL.ImageTk (delayed, conditional, optional), zmq.backend.cffi._cffi (top-level)
missing module named UserDict - imported by PyInstaller.compat (conditional), attr._compat (conditional)
missing module named pkg_resources.extern.packaging - imported by pkg_resources.extern (top-level), pkg_resources (top-level)
missing module named pkg_resources.extern.appdirs - imported by pkg_resources.extern (top-level), pkg_resources (top-level)
missing module named 'pkg_resources.extern.six.moves' - imported by pkg_resources (top-level), pkg_resources._vendor.packaging.requirements (top-level)
missing module named pkg_resources.extern.six - imported by pkg_resources.extern (top-level), pkg_resources (top-level), pkg_resources.py31compat (top-level)
missing module named resource - imported by posix (top-level), ptyprocess.ptyprocess (top-level), IPython.utils.timing (optional), joblib.externals.loky.backend.fork_exec (delayed, optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level), prometheus_client.process_collector (optional)
missing module named posix - imported by os (conditional, optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named org - imported by pickle (optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional), pstats (conditional, optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), PyInstaller.loader.pyimod02_archive (delayed, conditional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named importlib.lock_held - imported by importlib (optional), ipykernel.iostream (optional)
missing module named importlib.metadata - imported by importlib (optional), jsonschema (optional)
missing module named _winreg - imported by platform (delayed, optional), numpy.distutils.cpuinfo (delayed, conditional, optional), requests.utils (delayed, conditional, optional), nbconvert.preprocessors.svg2pdf (conditional, optional), jedi.api.environment (delayed, optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level), pkg_resources._vendor.appdirs (delayed, conditional), pygments.formatters.img (optional)
missing module named java - imported by platform (delayed), unittest.mock (conditional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named vms_lib - imported by platform (delayed, conditional, optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named termios - imported by tty (top-level), getpass (optional), ptyprocess.ptyprocess (top-level), prompt_toolkit.output.vt100 (delayed), prompt_toolkit.input.vt100 (top-level), IPython.core.page (delayed, optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named urllib.FancyURLopener - imported by urllib (conditional, optional), pygments.lexers._sourcemod_builtins (conditional, optional)
missing module named urllib.urlretrieve - imported by urllib (conditional, optional), pygments.lexers._php_builtins (conditional, optional)
missing module named urllib.urlopen - imported by urllib (conditional, optional), pygments.lexers._lua_builtins (conditional, optional), pygments.lexers._postgres_builtins (conditional, optional)
missing module named urllib.getproxies_environment - imported by urllib (conditional), requests.compat (conditional)
missing module named urllib.proxy_bypass_environment - imported by urllib (conditional), requests.compat (conditional)
missing module named urllib.proxy_bypass - imported by urllib (conditional), requests.compat (conditional)
missing module named urllib.getproxies - imported by urllib (conditional), requests.compat (conditional)
missing module named urllib.unquote_plus - imported by urllib (conditional), requests.compat (conditional)
missing module named urllib.quote_plus - imported by urllib (conditional), requests.compat (conditional), prometheus_client.exposition (optional)
missing module named urllib.quote - imported by urllib (conditional), requests.compat (conditional), jinja2._compat (optional)
missing module named urllib.unquote - imported by urllib (conditional), jsonschema.compat (conditional), requests.compat (conditional)
missing module named urllib.urlencode - imported by urllib (delayed, conditional, optional), IPython.lib.display (delayed, conditional, optional), requests.compat (conditional)
missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed), distutils.archive_util (optional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), pathlib (delayed, conditional, optional), distutils.util (delayed, conditional, optional), distutils.archive_util (optional), netrc (delayed, conditional), getpass (delayed), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional), setuptools.sandbox (conditional), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)
missing module named scipy.special.rel_entr - imported by scipy.special (top-level), scipy.spatial.distance (top-level)
missing module named scipy.special.xlogy - imported by scipy.special (top-level), scipy.interpolate.rbf (top-level)
missing module named psutil - imported by numpy.testing._private.utils (delayed, optional), scipy._lib._testutils (delayed, optional), joblib.externals.loky.backend.utils (optional), joblib.externals.loky.process_executor (optional)
missing module named pytest - imported by numpy._pytesttester (delayed), numpy.testing._private.utils (delayed), scipy._lib._testutils (delayed), matplotlib (delayed, optional)
missing module named scipy.sparse.coo_matrix - imported by scipy.sparse (delayed), scipy.sparse.data (delayed), scipy.optimize._numdiff (top-level), scipy.integrate._bvp (top-level), scipy.integrate._ivp.common (top-level)
missing module named numpy.array - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.extras (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), scipy._lib._numpy_compat (conditional), scipy.linalg.decomp (top-level), scipy.linalg.decomp_schur (top-level), scipy.sparse.linalg.isolve.utils (top-level), scipy.optimize.lbfgsb (top-level), scipy.optimize.tnc (top-level), scipy.optimize.slsqp (top-level), scipy.optimize.minpack (top-level), scipy.interpolate.interpolate (top-level), scipy.interpolate._fitpack_impl (top-level), scipy.interpolate.fitpack2 (top-level), scipy.integrate._ode (top-level)
missing module named numpy.testing.knownfailureif - imported by numpy.testing (optional), IPython.external.decorators (optional)
missing module named numpy.testing.KnownFailure - imported by numpy.testing (optional), IPython.external.decorators (optional)
missing module named commands - imported by numpy.distutils.cpuinfo (conditional)
missing module named setuptools.extern.packaging - imported by setuptools.extern (top-level), setuptools.dist (top-level), setuptools.command.egg_info (top-level)
missing module named 'setuptools.extern.six' - imported by setuptools (top-level), setuptools.extension (top-level)
missing module named 'setuptools.extern.packaging.version' - imported by setuptools.config (top-level), setuptools.msvc (top-level)
missing module named setuptools.extern.six.moves.filterfalse - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.msvc (top-level)
missing module named setuptools.extern.six.moves.filter - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.ssl_support (top-level), setuptools.command.py36compat (top-level)
missing module named _manylinux - imported by setuptools.pep425tags (delayed, optional)
missing module named 'setuptools.extern.packaging.utils' - imported by setuptools.wheel (top-level)
missing module named wincertstore - imported by setuptools.ssl_support (delayed, optional)
missing module named 'backports.ssl_match_hostname' - imported by setuptools.ssl_support (optional), urllib3.packages.ssl_match_hostname (optional)
missing module named backports - imported by setuptools.ssl_support (optional), entrypoints (conditional)
missing module named 'setuptools._vendor.six.moves' - imported by 'setuptools._vendor.six.moves' (top-level)
missing module named 'setuptools.extern.pyparsing' - imported by setuptools._vendor.packaging.requirements (top-level), setuptools._vendor.packaging.markers (top-level)
missing module named setuptools.extern.six.moves.map - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.package_index (top-level), setuptools.ssl_support (top-level), setuptools.command.egg_info (top-level), setuptools.namespaces (top-level)
runtime module named setuptools.extern.six.moves - imported by setuptools.dist (top-level), setuptools.py33compat (top-level), configparser (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.command.setopt (top-level), setuptools.package_index (top-level), setuptools.ssl_support (top-level), setuptools.command.egg_info (top-level), setuptools.command.py36compat (top-level), setuptools.namespaces (top-level), setuptools.msvc (top-level), 'setuptools._vendor.six.moves' (top-level)
missing module named setuptools.extern.six - imported by setuptools.extern (top-level), setuptools.monkey (top-level), setuptools.dist (top-level), setuptools.extern.six.moves (top-level), setuptools.py33compat (top-level), setuptools.config (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.py27compat (top-level), setuptools.package_index (top-level), setuptools.wheel (top-level), setuptools.pep425tags (top-level), setuptools.command.egg_info (top-level), setuptools.command.sdist (top-level), setuptools.command.bdist_egg (top-level), setuptools.unicode_utils (top-level), setuptools.command.develop (top-level)
missing module named 'numpy_distutils.cpuinfo' - imported by numpy.f2py.diagnose (delayed, conditional, optional)
missing module named 'numpy_distutils.fcompiler' - imported by numpy.f2py.diagnose (delayed, conditional, optional)
missing module named 'numpy_distutils.command' - imported by numpy.f2py.diagnose (delayed, conditional, optional)
missing module named numpy_distutils - imported by numpy.f2py.diagnose (delayed, optional)
missing module named __svn_version__ - imported by numpy.f2py.__version__ (optional)
missing module named numarray - imported by numpy.distutils.system_info (delayed, conditional, optional)
missing module named Numeric - imported by numpy.distutils.system_info (delayed, conditional, optional)
missing module named ConfigParser - imported by numpy.distutils.system_info (conditional), numpy.distutils.npy_pkg_config (conditional)
missing module named _curses - imported by curses (top-level), curses.has_key (top-level)
missing module named _dummy_threading - imported by dummy_threading (optional)
missing module named cpickle - imported by numpy.compat.py3k (conditional)
missing module named pickle5 - imported by numpy.compat.py3k (conditional, optional)
missing module named new - imported by nose.pyversion (optional), nose.ext.dtcompat (delayed), scipy.interpolate.rbf (delayed, conditional)
missing module named sets - imported by nose.util (optional)
missing module named compiler - imported by nose.pyversion (conditional, optional)
missing module named IronPython - imported by nose.suite (conditional)
missing module named clr - imported by nose.suite (conditional), IPython.utils._process_cli (top-level)
missing module named unittest2 - imported by nose.plugins.skip (optional)
missing module named numpy.core.number - imported by numpy.core (delayed), numpy.testing._private.utils (delayed)
missing module named numpy.core.integer - imported by numpy.core (top-level), numpy.fft.helper (top-level)
missing module named numpy.core.conjugate - imported by numpy.core (top-level), numpy.fft._pocketfft (top-level)
missing module named numpy.core.sign - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.divide - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.object_ - imported by numpy.core (top-level), numpy.linalg.linalg (top-level), numpy.testing._private.utils (delayed)
missing module named numpy.core.geterrobj - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.sqrt - imported by numpy.core (top-level), numpy.linalg.linalg (top-level), numpy.fft._pocketfft (top-level), scipy.sparse.linalg._norm (top-level)
missing module named numpy.core.add - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.complexfloating - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.inexact - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.cdouble - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.csingle - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.double - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.single - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.signbit - imported by numpy.core (delayed), numpy.testing._private.utils (delayed)
missing module named numpy.core.float32 - imported by numpy.core (top-level), numpy.testing._private.utils (top-level)
missing module named numpy.core.intp - imported by numpy.core (top-level), numpy.testing._private.utils (top-level), numpy.linalg.linalg (top-level)
missing module named copy_reg - imported by numpy.core (conditional), cPickle (top-level), cStringIO (top-level), ipyparallel.serialize.codeutil (optional), ipykernel.codeutil (optional)
missing module named dummy_thread - imported by numpy.core.arrayprint (conditional, optional), urllib3.packages.ordered_dict (optional)
missing module named numpy.eye - imported by numpy (delayed), numpy.core.numeric (delayed), scipy.optimize.optimize (top-level), scipy.linalg.decomp (top-level), scipy.optimize.minpack (top-level), scipy.interpolate._pade (top-level)
missing module named numpy.recarray - imported by numpy (top-level), numpy.ma.mrecords (top-level)
missing module named numpy.ndarray - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.extras (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), IPython.core.magics.namespace (delayed, conditional, optional)
missing module named numpy.dtype - imported by numpy (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), scipy.optimize.minpack (top-level)
missing module named numpy.bool_ - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.mrecords (top-level)
missing module named numpy.expand_dims - imported by numpy (top-level), numpy.ma.core (top-level)
missing module named numpy.iscomplexobj - imported by numpy (top-level), numpy.ma.core (top-level), scipy.linalg.decomp (top-level), scipy.linalg._decomp_ldl (top-level)
missing module named numpy.amin - imported by numpy (top-level), numpy.ma.core (top-level)
missing module named numpy.amax - imported by numpy (top-level), numpy.ma.core (top-level), scipy.linalg.matfuncs (top-level)
missing module named future_builtins - imported by numpy.lib.npyio (conditional)
missing module named urllib2 - imported by numpy.lib._datasource (delayed, conditional), jsonschema.compat (conditional), requests.compat (conditional), nbconvert.filters.strings (optional), prometheus_client.exposition (optional)
missing module named urlparse - imported by numpy.lib._datasource (delayed, conditional), jsonschema.compat (conditional), requests.compat (conditional), prometheus_client.exposition (optional)
missing module named numpy.histogramdd - imported by numpy (delayed), numpy.lib.twodim_base (delayed)
missing module named numpy.lib.i0 - imported by numpy.lib (top-level), numpy.dual (top-level)
missing module named sparse - imported by scipy.sparse.linalg._expm_multiply (delayed, conditional), scipy.sparse.linalg.matfuncs (delayed, conditional)
missing module named numpy.arcsin - imported by numpy (top-level), scipy.linalg.decomp_svd (top-level)
missing module named numpy.arccos - imported by numpy (top-level), scipy.linalg.decomp_svd (top-level), scipy.special.orthogonal (top-level)
missing module named numpy.conj - imported by numpy (top-level), scipy.linalg.decomp (top-level)
missing module named numpy.inexact - imported by numpy (top-level), scipy.linalg.decomp (top-level), scipy.special._basic (top-level), scipy.optimize.minpack (top-level)
missing module named scipy.linalg._cblas - imported by scipy.linalg (optional), scipy.linalg.blas (optional)
missing module named scipy.linalg._clapack - imported by scipy.linalg (optional), scipy.linalg.lapack (optional)
missing module named scikits - imported by scipy.sparse.linalg.dsolve.linsolve (optional)
missing module named scipy.linalg.qr_insert - imported by scipy.linalg (top-level), scipy.sparse.linalg.isolve._gcrotmk (top-level)
missing module named scipy.spatial.cKDTree - imported by scipy.spatial (top-level), scipy.spatial._spherical_voronoi (top-level), scipy.interpolate.ndgriddata (top-level)
missing module named scipy.special.gammaln - imported by scipy.special (top-level), scipy.special.spfun_stats (top-level), scipy.optimize._dual_annealing (top-level), scipy.integrate.quadrature (top-level)
missing module named scipy.special.airy - imported by scipy.special (top-level), scipy.special.orthogonal (top-level)
missing module named uarray - imported by scipy._lib.uarray (conditional, optional)
missing module named numpy.random.randn - imported by numpy.random (top-level), scipy (top-level)
missing module named numpy.random.rand - imported by numpy.random (top-level), scipy (top-level)
missing module named numpy.single - imported by numpy (top-level), scipy.linalg.decomp_schur (top-level), scipy.linalg.matfuncs (top-level)
missing module named numpy.sign - imported by numpy (top-level), scipy.linalg.matfuncs (top-level)
missing module named numpy.conjugate - imported by numpy (top-level), scipy.linalg.matfuncs (top-level)
missing module named numpy.logical_not - imported by numpy (top-level), scipy.linalg.matfuncs (top-level)
missing module named olefile - imported by PIL.MicImagePlugin (top-level), PIL.FpxImagePlugin (top-level)
missing module named 'PySide2.QtCore' - imported by PIL.ImageQt (conditional, optional)
missing module named PySide2 - imported by PIL.ImageQt (conditional, optional), IPython.external.qt_loaders (delayed), matplotlib.backends.qt_compat (delayed, conditional)
missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional)
missing module named matplotlib.axes.Axes - imported by matplotlib.axes (delayed), matplotlib.legend (delayed), matplotlib.projections.geo (top-level), matplotlib.projections.polar (top-level), mpl_toolkits.mplot3d.axes3d (top-level), matplotlib.figure (top-level), matplotlib.pyplot (top-level)
missing module named six.moves.zip - imported by six.moves (top-level), cycler (top-level)
runtime module named six.moves - imported by pyrsistent._toolz (top-level), dateutil.tz.tz (top-level), dateutil.tz._factories (top-level), dateutil.tz.win (top-level), dateutil.rrule (top-level), cycler (top-level)
missing module named six.moves.range - imported by six.moves (top-level), dateutil.rrule (top-level)
missing module named dateutil.tz.tzfile - imported by dateutil.tz (top-level), dateutil.zoneinfo (top-level)
missing module named matplotlib.tri.Triangulation - imported by matplotlib.tri (top-level), matplotlib.tri.trifinder (top-level), matplotlib.tri.tritools (top-level), matplotlib.tri.triinterpolate (top-level)
missing module named shiboken - imported by matplotlib.backends.qt_compat (delayed, conditional)
missing module named PySide - imported by matplotlib.backends.qt_compat (delayed, conditional)
missing module named PyQt4 - imported by matplotlib.backends.qt_compat (delayed)
missing module named shiboken2 - imported by matplotlib.backends.qt_compat (delayed, conditional)
missing module named sip - imported by IPython.external.qt_loaders (delayed, optional), matplotlib.backends.qt_compat (delayed, conditional, optional), PyQt5 (top-level)
missing module named PyQt5.QtX11Extras - imported by PyQt5 (delayed, conditional, optional), matplotlib.backends.backend_qt5 (delayed, conditional, optional)
missing module named 'IPython.kernel.comm' - imported by matplotlib.backends.backend_nbagg (optional)
missing module named Queue - imported by urllib3.connectionpool (conditional), nbconvert.preprocessors.execute (optional), zmq.eventloop.zmqstream (optional), jedi._compatibility (conditional), jedi.inference.compiled.subprocess (optional), ipyparallel.client.asyncresult (optional), joblib.externals.loky.backend.compat (conditional), joblib.parallel (optional), jupyter_client.blocking.channels (optional), ipykernel.inprocess.socket (optional), ipykernel.inprocess.blocking (optional)
missing module named 'gi.repository' - imported by ipykernel.gui.gtk3embed (top-level)
missing module named gi - imported by ipykernel.gui.gtk3embed (top-level)
missing module named gtk - imported by ipykernel.gui.gtkembed (top-level)
missing module named gobject - imported by ipykernel.gui.gtkembed (top-level)
missing module named wx - imported by IPython.lib.guisupport (delayed), ipykernel.eventloops (delayed)
missing module named IPython.utils.warn - imported by IPython.utils (delayed), IPython.testing.tools (delayed)
missing module named traitlets.config.Application - imported by traitlets.config (delayed, conditional), traitlets.log (delayed, conditional), ipykernel.kernelspec (top-level), notebook.base.handlers (top-level)
missing module named zmq.ETERM - imported by zmq (delayed), zmq.error (delayed, conditional), zmq.eventloop._deprecated (top-level), zmq.devices.basedevice (top-level)
missing module named 'tornado.platform.select' - imported by zmq.eventloop.minitornado.ioloop (delayed)
missing module named 'tornado.platform.kqueue' - imported by zmq.eventloop.minitornado.ioloop (delayed, conditional)
missing module named 'tornado.platform.epoll' - imported by zmq.eventloop.minitornado.ioloop (delayed, conditional)
missing module named monotime - imported by zmq.eventloop.minitornado.platform.auto (optional)
missing module named 'tornado.stack_context' - imported by zmq.eventloop.zmqstream (optional)
missing module named cPickle - imported by pickleshare (optional), jinja2._compat (conditional), zmq.sugar.socket (optional), jupyter_client.session (optional), zmq.eventloop.zmqstream (optional), parso.cache (optional), jedi._compatibility (optional), ipyparallel.serialize.serialize (optional), joblib._memmapping_reducer (optional), joblib.externals.loky.backend.reduction (optional), ipykernel.pickleutil (optional)
missing module named cStringIO - imported by cPickle (top-level), jinja2._compat (conditional), joblib.externals.cloudpickle.cloudpickle (conditional, optional)
missing module named zmq.EVENTS - imported by zmq (top-level), zmq._future (top-level)
missing module named _subprocess - imported by jupyter_client.launcher (delayed, conditional, optional), joblib.externals.loky.backend._win_wait (conditional), joblib.externals.loky.backend.compat_win32 (conditional), ipykernel.parentpoller (delayed, optional)
missing module named paramiko - imported by jupyter_client.ssh.tunnel (optional), zmq.ssh.tunnel (optional)
missing module named netifaces - imported by jupyter_client.localinterfaces (delayed)
missing module named pathlib2 - imported by pickleshare (optional), testpath.asserts (optional), importlib_metadata._compat (conditional)
missing module named contextlib2 - imported by importlib_metadata._compat (conditional)
missing module named 'backports.configparser' - imported by importlib_metadata._compat (conditional)
missing module named Cookie - imported by requests.compat (conditional)
missing module named cookielib - imported by requests.compat (conditional)
missing module named simplejson - imported by requests.compat (optional)
missing module named "'urllib3.packages.six.moves.urllib'.parse" - imported by urllib3.request (top-level), urllib3.poolmanager (top-level)
runtime module named urllib3.packages.six.moves - imported by http.client (top-level), urllib3.connectionpool (top-level), urllib3.util.response (top-level), 'urllib3.packages.six.moves.urllib' (top-level), urllib3.response (top-level)
missing module named _abcoll - imported by urllib3.packages.ordered_dict (optional)
missing module named socks - imported by urllib3.contrib.socks (optional)
missing module named 'typing.io' - imported by importlib.resources (top-level)
missing module named cryptography - imported by urllib3.contrib.pyopenssl (top-level), requests (conditional, optional)
missing module named 'OpenSSL.crypto' - imported by urllib3.contrib.pyopenssl (delayed)
missing module named 'cryptography.x509' - imported by urllib3.contrib.pyopenssl (delayed)
missing module named 'cryptography.hazmat' - imported by urllib3.contrib.pyopenssl (top-level)
missing module named OpenSSL - imported by urllib3.contrib.pyopenssl (top-level)
missing module named functools32 - imported by jsonschema.compat (conditional)
missing module named uritemplate - imported by jsonschema._format (optional)
missing module named jsonpointer - imported by jsonschema._format (optional)
missing module named webcolors - imported by jsonschema._format (optional)
missing module named rfc3339_validator - imported by jsonschema._format (optional)
missing module named strict_rfc3339 - imported by jsonschema._format (optional)
missing module named rfc3986_validator - imported by jsonschema._format (optional)
missing module named rfc3987 - imported by jsonschema._format (optional)
missing module named pygments.formatters.HtmlFormatter - imported by pygments.formatters (delayed), IPython.lib.display (delayed), nbconvert.filters.highlight (delayed), nbconvert.filters.markdown_mistune (top-level), nbconvert.preprocessors.csshtmlheader (delayed), IPython.core.oinspect (top-level)
missing module named pygments.formatters.LatexFormatter - imported by pygments.formatters (delayed), IPython.lib.display (delayed), nbconvert.filters.highlight (delayed), nbconvert.preprocessors.latex (delayed)
missing module named pygments.lexers.TexLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named pygments.lexers.Python3Lexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named pygments.lexers.PythonLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level), IPython.core.oinspect (top-level)
missing module named pygments.lexers.PerlLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named pygments.lexers.RubyLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named pygments.lexers.JavascriptLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named pygments.lexers.HtmlLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named pygments.lexers.BashLexer - imported by pygments.lexers (top-level), IPython.lib.lexers (top-level)
missing module named PIL._imagingagg - imported by PIL (delayed, conditional, optional), PIL.ImageDraw (delayed, conditional, optional)
missing module named ctags - imported by pygments.formatters.html (optional)
missing module named SocketServer - imported by zmq.ssh.forward (optional), prometheus_client.exposition (optional)
missing module named BaseHTTPServer - imported by prometheus_client.exposition (optional)
missing module named pretty - imported by jinja2.utils (delayed, optional)
missing module named tputil - imported by jinja2.debug (conditional, optional)
missing module named xmlrpclib - imported by defusedxml.xmlrpc (conditional)
missing module named HTMLParser - imported by nbconvert.filters.citation (conditional)
missing module named 'coverage.html' - imported by IPython.testing.iptestcontroller (delayed, conditional)
missing module named coverage - imported by IPython.testing.iptestcontroller (delayed, conditional)
missing module named 'prompt_toolkit.key_binding.key_bindings.vi' - imported by prompt_toolkit.key_binding.vi_state (conditional)
missing module named prompt_toolkit.filters.is_done - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.menus (top-level), prompt_toolkit.widgets.base (top-level), prompt_toolkit.shortcuts.progress_bar.base (top-level), prompt_toolkit.shortcuts.prompt (top-level)
missing module named prompt_toolkit.filters.has_completions - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.menus (top-level), prompt_toolkit.widgets.toolbars (top-level), prompt_toolkit.widgets.dialogs (top-level), IPython.terminal.shortcuts (top-level)
missing module named prompt_toolkit.filters.vi_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.document (top-level), prompt_toolkit.key_binding.bindings.page_navigation (top-level), prompt_toolkit.widgets.toolbars (top-level), IPython.terminal.shortcuts (top-level)
missing module named prompt_toolkit.filters.is_searching - imported by prompt_toolkit.filters (top-level), prompt_toolkit.search (top-level), prompt_toolkit.key_binding.bindings.search (top-level), prompt_toolkit.key_binding.bindings.vi (top-level)
missing module named prompt_toolkit.filters.vi_insert_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.containers (top-level), prompt_toolkit.key_binding.bindings.basic (top-level), IPython.terminal.shortcuts (top-level), IPython.terminal.debugger (top-level)
missing module named prompt_toolkit.filters.emacs_insert_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.containers (top-level), prompt_toolkit.key_binding.bindings.basic (top-level), prompt_toolkit.key_binding.bindings.emacs (top-level), IPython.terminal.shortcuts (top-level), IPython.terminal.debugger (top-level)
missing module named black - imported by IPython.terminal.interactiveshell (delayed)
missing module named numpydoc - imported by jedi.inference.docstrings (delayed)
missing module named pydoc_topics - imported by jedi.api.keywords (optional)
missing module named repr - imported by IPython.core.debugger (delayed, optional)
missing module named prompt_toolkit.filters.vi_insert_multiple_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.processors (top-level)
missing module named zmq.backend.zmq_errno - imported by zmq.backend (delayed), zmq.error (delayed, conditional)
missing module named zmq.backend.strerror - imported by zmq.backend (delayed), zmq.error (delayed)
missing module named zmq.backend.has - imported by zmq.backend (top-level), zmq.sugar.constants (top-level)
missing module named zmq.backend.constants - imported by zmq.backend (top-level), zmq.sugar.constants (top-level)
missing module named gevent - imported by zmq.green.poll (top-level), zmq.green.core (top-level)
missing module named 'gevent.core' - imported by zmq.green.core (delayed, optional)
missing module named 'gevent.hub' - imported by zmq.green.core (top-level)
missing module named 'gevent.event' - imported by zmq.green.core (top-level)
missing module named zmq.PUB - imported by zmq (top-level), zmq.devices.monitoredqueuedevice (top-level)
missing module named zmq.REQ - imported by zmq (top-level), zmq.devices.basedevice (top-level)
missing module named zmq.QUEUE - imported by zmq (top-level), zmq.devices.basedevice (top-level)
missing module named zmq.device - imported by zmq (top-level), zmq.devices (top-level), zmq.devices.basedevice (top-level)
missing module named zmq.backend.zmq_version_info - imported by zmq.backend (top-level), zmq.sugar.version (top-level)
missing module named zmq.backend.Frame - imported by zmq.backend (top-level), zmq.sugar.frame (top-level), zmq.sugar.tracker (top-level)
missing module named zmq.backend.Socket - imported by zmq.backend (top-level), zmq.sugar.socket (top-level)
missing module named zmq.backend.zmq_poll - imported by zmq.backend (top-level), zmq.sugar.poll (top-level)
missing module named pyczmq - imported by zmq.sugar.context (delayed)
missing module named zmq.backend.Context - imported by zmq.backend (top-level), zmq.sugar.context (top-level)
missing module named zmq.zmq_version_info - imported by zmq (delayed, conditional), zmq.error (delayed, conditional)
missing module named zmq.zmq_version - imported by zmq (delayed, conditional), zmq.error (delayed, conditional)
missing module named zmq.EAGAIN - imported by zmq (delayed), zmq.error (delayed, conditional)
missing module named dill - imported by ipyparallel.serialize.canning (delayed), ipyparallel.client._joblib (delayed, conditional, optional), ipykernel.pickleutil (delayed)
missing module named cloudpickle - imported by ipyparallel.serialize.canning (delayed), ipyparallel.client._joblib (delayed, conditional, optional), ipykernel.pickleutil (delayed)
missing module named 'distributed.sizeof' - imported by joblib._dask (conditional)
missing module named 'distributed.worker' - imported by joblib._dask (conditional)
missing module named 'distributed.utils' - imported by joblib._dask (conditional)
missing module named 'distributed.client' - imported by joblib._dask (conditional)
missing module named distributed - imported by ipyparallel.util (delayed), joblib._dask (conditional, optional), ipyparallel.client.client (delayed)
missing module named 'lz4.frame' - imported by joblib.compressor (conditional, optional)
missing module named lz4 - imported by joblib.compressor (optional)
missing module named exceptions - imported by joblib.my_exceptions (delayed, conditional)
missing module named mpi4py - imported by ipyparallel.engine.engine (delayed)
missing module named 'datetime.timezone' - imported by ipyparallel.util (optional)
missing module named appnope - imported by ipykernel.ipkernel (delayed, conditional)
missing module named trio - imported by IPython.core.async_helpers (delayed)
missing module named curio - imported by IPython.core.async_helpers (delayed)
missing module named docrepr - imported by IPython.core.interactiveshell (optional)
missing module named pysqlite2 - imported by IPython.core.history (optional)
missing module named ipykernel.connect_qtconsole - imported by ipykernel (top-level), ipykernel.zmqshell (top-level)
missing module named ipykernel.get_connection_info - imported by ipykernel (top-level), ipykernel.zmqshell (top-level)
missing module named ipykernel.get_connection_file - imported by ipykernel (top-level), ipykernel.zmqshell (top-level)
missing module named 'IPython.kernel.zmq' - imported by IPython (delayed)
missing module named 'scikits.umfpack' - imported by scipy.optimize._linprog_ip (optional)
missing module named 'sksparse.cholmod' - imported by scipy.optimize._linprog_ip (optional)
missing module named numpy.double - imported by numpy (top-level), scipy.optimize.nnls (top-level)
missing module named numpy.float64 - imported by numpy (top-level), scipy.optimize.lbfgsb (top-level)
missing module named numpy.greater - imported by numpy (top-level), scipy.optimize.minpack (top-level)
missing module named sksparse - imported by scipy.optimize._trustregion_constr.projections (optional)
missing module named openvino.inference_engine.IECore - imported by openvino.inference_engine (top-level), ie_module (top-level)
missing module named openvino.inference_engine.IENetwork - imported by openvino.inference_engine (top-level), C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\face_recognition_demo.py (top-level)

 

Upon calling the exe, this is the error  in the command line:

 

C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition>"C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\build\face_recognition_demo\face_recognition_demo.exe"
Error loading Python DLL 'C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\build\face_recognition_demo\python37.dll'.
LoadLibrary: The specified module could not be found.

C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition>"C:\Users\GAInTheHouse\jupyter notebooks\peopleCounting\face-recognition\dist\face_recognition_demo\face_recognition_demo.exe"
Traceback (most recent call last):
  File "face_recognition_demo.py", line 31, in <module>
    from faces_database import FacesDatabase
  File "c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
    exec(bytecode, module.__dict__)
  File "faces_database.py", line 23, in <module>
    from scipy.optimize import linear_sum_assignment
  File "c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\scipy\optimize\__init__.py", line 389, in <module>
  File "c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\scipy\optimize\optimize.py", line 37, in <module>
  File "c:\users\gainthehouse\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\scipy\optimize\linesearch.py", line 18, in <module>
ImportError: DLL load failed: The specified module could not be found.
[19168] Failed to execute script face_recognition_demo

 

 I request you to help me with the correct approach to exe generation.

0 Kudos
7 Replies
Highlighted
Moderator
509 Views

Greetings,


Most of the errors that you are getting are related to missing modules. Have you tried to install them by using "pip install" beforehand?. Plus, have you try to run the code to see whether it is executable?. This is important before creating an exe file since it would be pointless if your program /code is not working.


Besides, please help to ensure you are using the correct Openvino toolkit with your development hardware& environment, eg: Windows Openvino toolkit with Windows laptop.


You can refer here: https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_windows.htm...


The subsections on your left shows the type of development environment.


This is the Python tutorial on creating exe file: https://datatofish.com/executable-pyinstaller/



Sincerely,

Iffa


0 Kudos
Highlighted
Beginner
498 Views

They work well when I execute it as a python file.

0 Kudos
Highlighted
Moderator
478 Views

Errors like these:

missing module named numpy.double - imported by numpy (top-level), scipy.optimize.nnls (top-level)

missing module named numpy.float64 - imported by numpy (top-level), scipy.optimize.lbfgsb (top-level)

missing module named numpy.greater - imported by numpy (top-level), scipy.optimize.minpack (top-level)



means that your program is unable to find these modules. If you had successfully run the python program without any error, these problems should not persist.


These errors are not really related with Openvino but it is more towards Python.

You can check this thread as a workaround: https://python-forum.io/Thread-Error-with-Pyinstaller-Modules


Sincerely,

Iffa


0 Kudos
Highlighted
Beginner
459 Views

I thought the same. Hence I tried the code on two different systems.

Without adding the plugin.xml here's the warning generated:


missing module named _dummy_threading - imported by dummy_threading (optional)
missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), pathlib (delayed, conditional, optional), distutils.util (delayed, conditional), distutils.archive_util (optional), netrc (delayed, conditional), getpass (delayed), psutil (optional)
missing module named posix - imported by os (conditional, optional)
missing module named resource - imported by posix (top-level), IPython.utils.timing (optional)
missing module named importlib.lock_held - imported by importlib (optional), ipykernel.iostream (optional)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), PyInstaller.loader.pyimod02_archive (delayed)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional), setuptools.sandbox (conditional)
missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed), distutils.archive_util (optional)
missing module named System - imported by traitlets.traitlets (delayed, conditional), IPython.utils._process_cli (top-level)
missing module named __builtin__ - imported by numpy.core.numerictypes (conditional), numpy.core.numeric (conditional), numpy.lib.function_base (conditional), numpy.lib._iotools (conditional), numpy.ma.core (conditional), scipy._lib.six (conditional), numpy.distutils.misc_util (delayed, conditional), numpy (conditional), pyparsing (conditional), ipython_genutils.py3compat (conditional), jedi._compatibility (optional), cloudpickle.cloudpickle (conditional), pkg_resources._vendor.pyparsing (conditional), setuptools._vendor.pyparsing (conditional)
missing module named vms_lib - imported by platform (delayed, conditional, optional)
missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional)
missing module named java - imported by platform (delayed), unittest.mock (conditional)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named termios - imported by tty (top-level), getpass (optional), psutil._compat (delayed, optional), prompt_toolkit.output.vt100 (delayed), prompt_toolkit.input.vt100 (top-level), IPython.core.page (delayed, optional)
missing module named urllib.FancyURLopener - imported by urllib (conditional, optional), pygments.lexers._sourcemod_builtins (conditional, optional)
missing module named urllib.urlretrieve - imported by urllib (conditional, optional), pygments.lexers._php_builtins (conditional, optional)
missing module named urllib.urlopen - imported by urllib (conditional, optional), pygments.lexers._lua_builtins (conditional, optional), pygments.lexers._postgres_builtins (conditional, optional)
missing module named urllib.urlencode - imported by urllib (delayed, conditional, optional), IPython.lib.display (delayed, conditional, optional)
missing module named urllib.pathname2url - imported by urllib (conditional), PyInstaller.lib.modulegraph._compat (conditional)
missing module named _winreg - imported by platform (delayed, optional), numpy.distutils.cpuinfo (delayed, conditional, optional), jedi.api.environment (delayed, optional), pkg_resources._vendor.appdirs (delayed, conditional), pygments.formatters.img (optional)
missing module named StringIO - imported by PyInstaller.lib.modulegraph._compat (conditional), PyInstaller.lib.modulegraph.zipio (conditional), setuptools._vendor.six (conditional), numpy.testing._private.utils (conditional), numpy.lib.utils (delayed, conditional), numpy.lib.format (delayed, conditional), scipy._lib.six (conditional), six (conditional), cloudpickle.cloudpickle (delayed, conditional, optional), pkg_resources._vendor.six (conditional)
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level)
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional), pstats (conditional, optional)
missing module named org - imported by pickle (optional)
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
missing module named multiprocessing.Process - imported by multiprocessing (top-level), jupyter_client.ssh.tunnel (top-level)
missing module named multiprocessing.Pool - imported by multiprocessing (top-level), scipy._lib._util (top-level)
missing module named multiprocessing.SimpleQueue - imported by multiprocessing (top-level), concurrent.futures.process (top-level)
missing module named 'win32com.gen_py' - imported by win32com (conditional, optional), c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_win32comgenpy.py (top-level)
missing module named pyimod03_importers - imported by c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py (top-level)
missing module named 'com.sun' - imported by pkg_resources._vendor.appdirs (delayed, conditional, optional)
missing module named com - imported by pkg_resources._vendor.appdirs (delayed)
missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.requirements (top-level), pkg_resources._vendor.packaging.markers (top-level)
missing module named ordereddict - imported by pyparsing (optional), pkg_resources._vendor.pyparsing (optional), setuptools._vendor.pyparsing (optional)
missing module named pkg_resources.extern.packaging - imported by pkg_resources.extern (top-level), pkg_resources (top-level)
missing module named pkg_resources.extern.appdirs - imported by pkg_resources.extern (top-level), pkg_resources (top-level)
missing module named 'pkg_resources.extern.six.moves' - imported by pkg_resources (top-level), pkg_resources._vendor.packaging.requirements (top-level)
missing module named pkg_resources.extern.six - imported by pkg_resources.extern (top-level), pkg_resources (top-level), pkg_resources.py31compat (top-level)
missing module named scipy.special.rel_entr - imported by scipy.special (top-level), scipy.spatial.distance (top-level)
missing module named scipy.special.xlogy - imported by scipy.special (top-level), scipy.interpolate.rbf (top-level)
missing module named psutil._psutil_aix - imported by psutil (top-level), psutil._psaix (top-level)
missing module named psutil._psutil_sunos - imported by psutil (top-level), psutil._pssunos (top-level)
missing module named psutil._psutil_bsd - imported by psutil (top-level), psutil._psbsd (top-level)
missing module named psutil._psutil_osx - imported by psutil (top-level), psutil._psosx (top-level)
missing module named _psutil_linux - imported by psutil (conditional)
missing module named psutil._psutil_posix - imported by psutil (top-level), psutil._pslinux (top-level), psutil._psosx (top-level), psutil._psbsd (top-level), psutil._pssunos (top-level), psutil._psaix (top-level)
missing module named fcntl - imported by psutil._compat (delayed, optional), asyncio.unix_events (conditional), prompt_toolkit.output.vt100 (delayed), tornado.platform.posix (top-level), zmq.eventloop.minitornado.platform.posix (top-level)
missing module named _curses - imported by curses (top-level), curses.has_key (top-level)
missing module named pytest - imported by numpy._pytesttester (delayed), numpy.testing._private.utils (delayed), scipy._lib._testutils (delayed), matplotlib (delayed, optional)
missing module named scipy.sparse.coo_matrix - imported by scipy.sparse (delayed), scipy.sparse.data (delayed), scipy.optimize._numdiff (top-level), scipy.integrate._bvp (top-level), scipy.integrate._ivp.common (top-level)
missing module named numpy.array - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.extras (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), scipy._lib._numpy_compat (conditional), scipy.linalg.decomp (top-level), scipy.linalg.decomp_schur (top-level), scipy.sparse.linalg.isolve.utils (top-level), scipy.optimize.lbfgsb (top-level), scipy.optimize.tnc (top-level), scipy.optimize.slsqp (top-level), scipy.optimize.minpack (top-level), scipy.interpolate.interpolate (top-level), scipy.interpolate._fitpack_impl (top-level), scipy.interpolate.fitpack2 (top-level), scipy.integrate._ode (top-level)
missing module named numpy.testing.knownfailureif - imported by numpy.testing (optional), IPython.external.decorators (optional)
missing module named numpy.testing.KnownFailure - imported by numpy.testing (optional), IPython.external.decorators (optional)
missing module named commands - imported by numpy.distutils.cpuinfo (conditional)
missing module named setuptools.extern.packaging - imported by setuptools.extern (top-level), setuptools.dist (top-level), setuptools.command.egg_info (top-level)
missing module named 'setuptools.extern.six' - imported by setuptools (top-level), setuptools.extension (top-level)
missing module named 'setuptools.extern.packaging.specifiers' - imported by setuptools.config (top-level)
missing module named 'setuptools.extern.packaging.version' - imported by setuptools.config (top-level), setuptools.msvc (top-level)
missing module named setuptools.extern.six.moves.filterfalse - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.msvc (top-level)
missing module named setuptools.extern.six.moves.filter - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.ssl_support (top-level), setuptools.command.py36compat (top-level)
missing module named setuptools.extern.ordered_set - imported by setuptools.extern (top-level), setuptools.dist (top-level), setuptools.command.sdist (top-level)
missing module named 'setuptools.extern.packaging.utils' - imported by setuptools.wheel (top-level)
missing module named 'setuptools.extern.packaging.tags' - imported by setuptools.wheel (top-level)
missing module named wincertstore - imported by setuptools.ssl_support (delayed, optional)
missing module named 'backports.ssl_match_hostname' - imported by setuptools.ssl_support (optional)
missing module named backports - imported by setuptools.ssl_support (optional)
missing module named 'setuptools._vendor.six.moves' - imported by 'setuptools._vendor.six.moves' (top-level)
missing module named 'setuptools.extern.pyparsing' - imported by setuptools._vendor.packaging.requirements (top-level), setuptools._vendor.packaging.markers (top-level)
missing module named _manylinux - imported by setuptools._vendor.packaging.tags (delayed, optional)
missing module named setuptools.extern.six.moves.map - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.package_index (top-level), setuptools.ssl_support (top-level), setuptools.command.egg_info (top-level), setuptools.namespaces (top-level)
runtime module named setuptools.extern.six.moves - imported by setuptools.dist (top-level), setuptools.py33compat (top-level), configparser (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.command.setopt (top-level), setuptools.package_index (top-level), setuptools.ssl_support (top-level), setuptools.command.egg_info (top-level), setuptools.command.py36compat (top-level), setuptools.namespaces (top-level), setuptools.msvc (top-level), 'setuptools._vendor.six.moves' (top-level)
missing module named setuptools.extern.six - imported by setuptools.extern (top-level), setuptools.monkey (top-level), setuptools.dist (top-level), setuptools.extern.six.moves (top-level), setuptools.py33compat (top-level), setuptools.py27compat (top-level), setuptools.config (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.package_index (top-level), setuptools.wheel (top-level), setuptools.command.egg_info (top-level), setuptools.command.sdist (top-level), setuptools.command.bdist_egg (top-level), setuptools.unicode_utils (top-level), setuptools.installer (top-level), setuptools.command.develop (top-level)
missing module named 'numpy_distutils.cpuinfo' - imported by numpy.f2py.diagnose (delayed, conditional, optional)
missing module named 'numpy_distutils.fcompiler' - imported by numpy.f2py.diagnose (delayed, conditional, optional)
missing module named 'numpy_distutils.command' - imported by numpy.f2py.diagnose (delayed, conditional, optional)
missing module named numpy_distutils - imported by numpy.f2py.diagnose (delayed, optional)
missing module named __svn_version__ - imported by numpy.f2py.__version__ (optional)
missing module named numarray - imported by numpy.distutils.system_info (delayed, conditional, optional)
missing module named Numeric - imported by numpy.distutils.system_info (delayed, conditional, optional)
missing module named ConfigParser - imported by numpy.distutils.system_info (conditional), numpy.distutils.npy_pkg_config (conditional)
missing module named cpickle - imported by numpy.compat.py3k (conditional)
missing module named pickle5 - imported by numpy.compat.py3k (conditional, optional)
missing module named 'nose.plugins' - imported by numpy.testing._private.noseclasses (top-level), numpy.testing._private.nosetester (delayed), IPython.testing.iptest (top-level), IPython.testing.plugin.ipdoctest (top-level), IPython.external.decorators._numpy_testing_noseclasses (top-level)
missing module named numpy.core.number - imported by numpy.core (delayed), numpy.testing._private.utils (delayed)
missing module named numpy.core.integer - imported by numpy.core (top-level), numpy.fft.helper (top-level)
missing module named numpy.core.conjugate - imported by numpy.core (top-level), numpy.fft._pocketfft (top-level)
missing module named numpy.core.sign - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.divide - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.object_ - imported by numpy.core (top-level), numpy.linalg.linalg (top-level), numpy.testing._private.utils (delayed)
missing module named numpy.core.geterrobj - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.sqrt - imported by numpy.core (top-level), numpy.linalg.linalg (top-level), numpy.fft._pocketfft (top-level), scipy.sparse.linalg._norm (top-level)
missing module named numpy.core.add - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.complexfloating - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.inexact - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.cdouble - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.csingle - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.double - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.single - imported by numpy.core (top-level), numpy.linalg.linalg (top-level)
missing module named numpy.core.signbit - imported by numpy.core (delayed), numpy.testing._private.utils (delayed)
missing module named numpy.core.float32 - imported by numpy.core (top-level), numpy.testing._private.utils (top-level)
missing module named numpy.core.intp - imported by numpy.core (top-level), numpy.testing._private.utils (top-level), numpy.linalg.linalg (top-level)
missing module named copy_reg - imported by numpy.core (conditional), cPickle (top-level), cStringIO (top-level), ipykernel.codeutil (optional)
missing module named dummy_thread - imported by numpy.core.arrayprint (conditional, optional)
missing module named thread - imported by numpy.core.arrayprint (conditional, optional), zmq.eventloop.minitornado.ioloop (optional), ipykernel.parentpoller (optional)
missing module named numpy.eye - imported by numpy (delayed), numpy.core.numeric (delayed), scipy.optimize.optimize (top-level), scipy.linalg.decomp (top-level), scipy.optimize.minpack (top-level), scipy.interpolate._pade (top-level)
missing module named 'nose.util' - imported by numpy.testing._private.noseclasses (top-level), IPython.testing.iptest (top-level), IPython.testing.plugin.ipdoctest (top-level)
missing module named nose - imported by numpy.testing._private.utils (delayed, optional), numpy.testing._private.decorators (delayed), numpy.testing._private.noseclasses (top-level), IPython.testing.iptest (top-level), IPython.external.decorators._decorators (delayed), IPython.testing.decorators (delayed)
missing module named numpy.recarray - imported by numpy (top-level), numpy.ma.mrecords (top-level)
missing module named numpy.ndarray - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.extras (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), IPython.core.magics.namespace (delayed, conditional, optional)
missing module named numpy.dtype - imported by numpy (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), scipy.optimize.minpack (top-level)
missing module named numpy.bool_ - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.mrecords (top-level)
missing module named numpy.expand_dims - imported by numpy (top-level), numpy.ma.core (top-level)
missing module named numpy.iscomplexobj - imported by numpy (top-level), numpy.ma.core (top-level), scipy.linalg.decomp (top-level), scipy.linalg._decomp_ldl (top-level)
missing module named numpy.amin - imported by numpy (top-level), numpy.ma.core (top-level)
missing module named numpy.amax - imported by numpy (top-level), numpy.ma.core (top-level), scipy.linalg.matfuncs (top-level)
missing module named future_builtins - imported by numpy.lib.npyio (conditional)
missing module named urllib2 - imported by numpy.lib._datasource (delayed, conditional)
missing module named urlparse - imported by numpy.lib._datasource (delayed, conditional)
missing module named numpy.histogramdd - imported by numpy (delayed), numpy.lib.twodim_base (delayed)
missing module named numpy.lib.i0 - imported by numpy.lib (top-level), numpy.dual (top-level)
missing module named sparse - imported by scipy.sparse.linalg._expm_multiply (delayed, conditional), scipy.sparse.linalg.matfuncs (delayed, conditional)
missing module named numpy.arcsin - imported by numpy (top-level), scipy.linalg.decomp_svd (top-level)
missing module named numpy.arccos - imported by numpy (top-level), scipy.linalg.decomp_svd (top-level), scipy.special.orthogonal (top-level)
missing module named numpy.conj - imported by numpy (top-level), scipy.linalg.decomp (top-level)
missing module named numpy.inexact - imported by numpy (top-level), scipy.linalg.decomp (top-level), scipy.special._basic (top-level), scipy.optimize.minpack (top-level)
missing module named scipy.linalg._cblas - imported by scipy.linalg (optional), scipy.linalg.blas (optional)
missing module named scipy.linalg._clapack - imported by scipy.linalg (optional), scipy.linalg.lapack (optional)
missing module named scikits - imported by scipy.sparse.linalg.dsolve.linsolve (optional)
missing module named scipy.linalg.qr_insert - imported by scipy.linalg (top-level), scipy.sparse.linalg.isolve._gcrotmk (top-level)
missing module named scipy.spatial.cKDTree - imported by scipy.spatial (top-level), scipy.spatial._spherical_voronoi (top-level), scipy.interpolate.ndgriddata (top-level)
missing module named new - imported by scipy.interpolate.rbf (delayed, conditional)
missing module named scipy.special.gammaln - imported by scipy.special (top-level), scipy.special.spfun_stats (top-level), scipy.optimize._dual_annealing (top-level), scipy.integrate.quadrature (top-level)
missing module named scipy.special.airy - imported by scipy.special (top-level), scipy.special.orthogonal (top-level)
missing module named uarray - imported by scipy._lib.uarray (conditional, optional)
missing module named cffi - imported by win32ctypes.core (optional), scipy._lib._ccallback (delayed, optional), PIL.Image (optional), PIL.PyAccess (top-level), zmq.utils.interop (delayed, optional), PIL.ImageTk (delayed, conditional, optional), zmq.backend.cffi._cffi (top-level)
missing module named numpy.random.randn - imported by numpy.random (top-level), scipy (top-level)
missing module named numpy.random.rand - imported by numpy.random (top-level), scipy (top-level)
missing module named numpy.single - imported by numpy (top-level), scipy.linalg.decomp_schur (top-level), scipy.linalg.matfuncs (top-level)
missing module named numpy.sign - imported by numpy (top-level), scipy.linalg.matfuncs (top-level)
missing module named numpy.conjugate - imported by numpy (top-level), scipy.linalg.matfuncs (top-level)
missing module named numpy.logical_not - imported by numpy (top-level), scipy.linalg.matfuncs (top-level)
missing module named olefile - imported by PIL.MicImagePlugin (top-level), PIL.FpxImagePlugin (top-level)
missing module named typing_extensions - imported by prompt_toolkit.formatted_text.base (conditional), prompt_toolkit.layout.containers (conditional), tornado.ioloop (conditional), tornado.websocket (conditional)
missing module named asyncio.WindowsSelectorEventLoopPolicy - imported by asyncio (delayed, conditional, optional), ipykernel.kernelapp (delayed, conditional, optional)
missing module named asyncio.WindowsProactorEventLoopPolicy - imported by asyncio (delayed, conditional, optional), ipykernel.kernelapp (delayed, conditional, optional)
missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional)
missing module named matplotlib.axes.Axes - imported by matplotlib.axes (delayed), matplotlib.legend (delayed), matplotlib.projections.geo (top-level), matplotlib.projections.polar (top-level), matplotlib.figure (top-level), matplotlib.pyplot (top-level)
missing module named six.moves.zip - imported by six.moves (top-level), cycler (top-level)
runtime module named six.moves - imported by cycler (top-level), dateutil.tz.tz (top-level), dateutil.tz._factories (top-level), dateutil.tz.win (top-level), dateutil.rrule (top-level)
missing module named six.moves.range - imported by six.moves (top-level), dateutil.rrule (top-level)
missing module named dateutil.tz.tzfile - imported by dateutil.tz (top-level), dateutil.zoneinfo (top-level)
missing module named matplotlib.tri.Triangulation - imported by matplotlib.tri (top-level), matplotlib.tri.trifinder (top-level), matplotlib.tri.tritools (top-level), matplotlib.tri.triinterpolate (top-level)
missing module named PySide - imported by matplotlib.backends.qt_compat (delayed, conditional)
missing module named PyQt4 - imported by matplotlib.backends.qt_compat (delayed)
missing module named sip - imported by IPython.external.qt_loaders (delayed, optional), matplotlib.backends.qt_compat (delayed, optional), PyQt5 (top-level)
missing module named PyQt5.QtX11Extras - imported by PyQt5 (delayed, conditional, optional), matplotlib.backends.backend_qt5 (delayed, conditional, optional)
missing module named 'IPython.kernel.comm' - imported by matplotlib.backends.backend_nbagg (optional)
missing module named Queue - imported by jedi._compatibility (conditional), jedi.inference.compiled.subprocess (optional), zmq.eventloop.zmqstream (optional), jupyter_client.blocking.channels (optional), ipykernel.inprocess.socket (optional), ipykernel.inprocess.blocking (optional)
missing module named 'gi.repository' - imported by ipykernel.gui.gtk3embed (top-level)
missing module named gi - imported by ipykernel.gui.gtk3embed (top-level)
missing module named gtk - imported by ipykernel.gui.gtkembed (top-level)
missing module named gobject - imported by ipykernel.gui.gtkembed (top-level)
missing module named wx - imported by IPython.lib.guisupport (delayed), ipykernel.eventloops (delayed)
missing module named IPython.utils.warn - imported by IPython.utils (delayed), IPython.testing.tools (delayed)
missing module named traitlets.config.Application - imported by traitlets.config (delayed, conditional), traitlets.log (delayed, conditional), ipykernel.kernelspec (top-level)
missing module named pygments.lexers.PythonLexer - imported by pygments.lexers (top-level), IPython.core.oinspect (top-level)
missing module named ctags - imported by pygments.formatters.html (optional)
missing module named PIL._imagingagg - imported by PIL (delayed, conditional, optional), PIL.ImageDraw (delayed, conditional, optional)
missing module named pygments.formatters.LatexFormatter - imported by pygments.formatters (delayed), IPython.lib.display (delayed)
missing module named pygments.formatters.HtmlFormatter - imported by pygments.formatters (delayed), IPython.lib.display (delayed), IPython.core.oinspect (top-level)
missing module named zmq.backend.zmq_errno - imported by zmq.backend (delayed), zmq.error (delayed, conditional)
missing module named zmq.backend.strerror - imported by zmq.backend (delayed), zmq.error (delayed)
missing module named zmq.backend.has - imported by zmq.backend (top-level), zmq.sugar.constants (top-level)
missing module named zmq.backend.constants - imported by zmq.backend (top-level), zmq.sugar.constants (top-level)
missing module named gevent - imported by zmq.green.poll (top-level), zmq.green.core (top-level)
missing module named 'gevent.core' - imported by zmq.green.core (delayed, optional)
missing module named 'gevent.hub' - imported by zmq.green.core (top-level)
missing module named 'gevent.event' - imported by zmq.green.core (top-level)
missing module named zmq.EVENTS - imported by zmq (top-level), zmq._future (top-level)
missing module named zmq.backend.zmq_version_info - imported by zmq.backend (top-level), zmq.sugar.version (top-level)
missing module named zmq.backend.Frame - imported by zmq.backend (top-level), zmq.sugar.frame (top-level), zmq.sugar.tracker (top-level)
missing module named cPickle - imported by pickleshare (optional), parso.cache (optional), jedi._compatibility (optional), zmq.sugar.socket (optional), jupyter_client.session (optional), zmq.eventloop.zmqstream (optional), ipykernel.pickleutil (optional)
missing module named cStringIO - imported by cPickle (top-level), cloudpickle.cloudpickle (conditional, optional)
missing module named zmq.backend.Socket - imported by zmq.backend (top-level), zmq.sugar.socket (top-level)
missing module named zmq.backend.zmq_poll - imported by zmq.backend (top-level), zmq.sugar.poll (top-level)
missing module named pyczmq - imported by zmq.sugar.context (delayed)
missing module named zmq.backend.Context - imported by zmq.backend (top-level), zmq.sugar.context (top-level)
missing module named zmq.zmq_version_info - imported by zmq (delayed, conditional), zmq.error (delayed, conditional)
missing module named zmq.zmq_version - imported by zmq (delayed, conditional), zmq.error (delayed, conditional)
missing module named zmq.EAGAIN - imported by zmq (delayed), zmq.error (delayed, conditional)
missing module named zmq.ETERM - imported by zmq (delayed), zmq.error (delayed, conditional), zmq.eventloop._deprecated (top-level)
missing module named 'tornado.platform.select' - imported by zmq.eventloop.minitornado.ioloop (delayed)
missing module named 'tornado.platform.kqueue' - imported by zmq.eventloop.minitornado.ioloop (delayed, conditional)
missing module named 'tornado.platform.epoll' - imported by zmq.eventloop.minitornado.ioloop (delayed, conditional)
missing module named monotime - imported by zmq.eventloop.minitornado.platform.auto (optional)
missing module named 'tornado.stack_context' - imported by zmq.eventloop.zmqstream (optional)
missing module named ipyparallel - imported by ipykernel.zmqshell (delayed, conditional)
missing module named pexpect - imported by IPython.utils._process_posix (top-level), jupyter_client.ssh.tunnel (optional)
missing module named clr - imported by IPython.utils._process_cli (top-level)
missing module named 'coverage.html' - imported by IPython.testing.iptestcontroller (delayed, conditional)
missing module named coverage - imported by IPython.testing.iptestcontroller (delayed, conditional)
missing module named testpath - imported by IPython.testing.plugin.ipdoctest (top-level)
missing module named 'nose.core' - imported by IPython.testing.iptest (top-level)
missing module named nbconvert - imported by IPython.utils.io (delayed)
missing module named notebook - imported by IPython.utils.io (delayed)
missing module named 'nose.tools' - imported by IPython.testing.tools (delayed, optional), IPython.testing.decorators (delayed)
missing module named contextvars - imported by prompt_toolkit.application.current (optional), prompt_toolkit.eventloop.utils (optional), prompt_toolkit.shortcuts.progress_bar.base (optional), prompt_toolkit.application.application (optional)
missing module named 'prompt_toolkit.key_binding.key_bindings.vi' - imported by prompt_toolkit.key_binding.vi_state (conditional)
missing module named prompt_toolkit.filters.is_done - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.menus (top-level), prompt_toolkit.widgets.base (top-level), prompt_toolkit.shortcuts.progress_bar.base (top-level), prompt_toolkit.shortcuts.prompt (top-level)
missing module named prompt_toolkit.filters.has_completions - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.menus (top-level), prompt_toolkit.widgets.toolbars (top-level), prompt_toolkit.widgets.dialogs (top-level), IPython.terminal.shortcuts (top-level)
missing module named prompt_toolkit.filters.vi_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.document (top-level), prompt_toolkit.key_binding.bindings.page_navigation (top-level), prompt_toolkit.widgets.toolbars (top-level), IPython.terminal.shortcuts (top-level)
missing module named prompt_toolkit.filters.is_searching - imported by prompt_toolkit.filters (top-level), prompt_toolkit.search (top-level), prompt_toolkit.key_binding.bindings.search (top-level), prompt_toolkit.key_binding.bindings.vi (top-level)
missing module named prompt_toolkit.filters.vi_insert_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.containers (top-level), prompt_toolkit.key_binding.bindings.basic (top-level), IPython.terminal.shortcuts (top-level), IPython.terminal.debugger (top-level)
missing module named prompt_toolkit.filters.emacs_insert_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.containers (top-level), prompt_toolkit.key_binding.bindings.basic (top-level), prompt_toolkit.key_binding.bindings.emacs (top-level), IPython.terminal.shortcuts (top-level), IPython.terminal.debugger (top-level)
missing module named black - imported by IPython.terminal.interactiveshell (delayed)
missing module named numpydoc - imported by jedi.inference.docstrings (delayed)
missing module named pydoc_topics - imported by jedi.api.keywords (optional)
missing module named repr - imported by IPython.core.debugger (delayed, optional)
missing module named prompt_toolkit.filters.vi_insert_multiple_mode - imported by prompt_toolkit.filters (top-level), prompt_toolkit.layout.processors (top-level)
missing module named nbformat - imported by IPython.core.magics.basic (delayed), IPython.core.interactiveshell (delayed, conditional)
missing module named appnope - imported by ipykernel.ipkernel (delayed, conditional)
missing module named trio - imported by IPython.core.async_helpers (delayed)
missing module named curio - imported by IPython.core.async_helpers (delayed)
missing module named docrepr - imported by IPython.core.interactiveshell (optional)
missing module named pysqlite2 - imported by IPython.core.history (optional)
missing module named pathlib2 - imported by pickleshare (optional)
missing module named _subprocess - imported by jupyter_client.launcher (delayed, conditional, optional), ipykernel.parentpoller (delayed, optional)
missing module named paramiko - imported by jupyter_client.ssh.tunnel (optional)
missing module named netifaces - imported by jupyter_client.localinterfaces (delayed)
missing module named dill - imported by ipykernel.pickleutil (delayed)
missing module named 'ipyparallel.serialize' - imported by ipykernel.pickleutil (optional)
missing module named ipykernel.connect_qtconsole - imported by ipykernel (top-level), ipykernel.zmqshell (top-level)
missing module named ipykernel.get_connection_info - imported by ipykernel (top-level), ipykernel.zmqshell (top-level)
missing module named ipykernel.get_connection_file - imported by ipykernel (top-level), ipykernel.zmqshell (top-level)
missing module named 'IPython.kernel.zmq' - imported by IPython (delayed)
missing module named 'scikits.umfpack' - imported by scipy.optimize._linprog_ip (optional)
missing module named 'sksparse.cholmod' - imported by scipy.optimize._linprog_ip (optional)
missing module named numpy.double - imported by numpy (top-level), scipy.optimize.nnls (top-level)
missing module named numpy.float64 - imported by numpy (top-level), scipy.optimize.lbfgsb (top-level)
missing module named numpy.greater - imported by numpy (top-level), scipy.optimize.minpack (top-level)
missing module named sksparse - imported by scipy.optimize._trustregion_constr.projections (optional)
missing module named openvino.inference_engine.IECore - imported by openvino.inference_engine (top-level), ie_module (top-level)
missing module named openvino.inference_engine.IENetwork - imported by openvino.inference_engine (top-level), E:\CODE\RetailioVision_Version_2\Face_Recogition_CPU\FR_Code\face_recognition_demo.py (top-level)

After adding the plugin.xml folder, the executable is not generated and an error is thrown:

E:\CODE\RetailioVision_Version_2\Face_Recogition_CPU\FR_Code>pyinstaller --onefile --add-data "C:\Program Files (x86)\IntelSWTools\openvino_2019.3.334\deployment_tools\inference_engine\bin\intel64\Release\plugins.xml;." face_recognition_demo_.py
60 INFO: PyInstaller: 4.0.dev0+5e33cce158
60 INFO: Python: 3.6.8
62 INFO: Platform: Windows-10-10.0.18362-SP0
65 INFO: wrote E:\CODE\RetailioVision_Version_2\Face_Recogition_CPU\FR_Code\face_recognition_demo_.spec
69 INFO: UPX is not available.
Traceback (most recent call last):
File "c:\users\msi\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"_main_", mod_spec)
File "c:\users\msi\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\msi\AppData\Local\Programs\Python\Python36\Scripts\pyinstaller.exe\_main_.py", line 7, in <module>
File "c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\_main_.py", line 114, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\_main_.py", line 65, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 735, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 682, in build
exec(code, spec_namespace)
File "E:\CODE\RetailioVision_Version_2\Face_Recogition_CPU\FR_Code\face_recognition_demo_.spec", line 17, in <module>
noarchive=False)
File "c:\users\msi\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 189, in _init_
raise ValueError("script '%s' not found" % script)
ValueError: script 'E:\CODE\RetailioVision_Version_2\Face_Recogition_CPU\FR_Code\face_recognition_demo_.py' not found

 

A peculiar thing to note is that face_recogntion.py exists in that place. It is the correct directory with the correct path

0 Kudos
Highlighted
Moderator
442 Views

Greetings,


Please note that this topic is actually in Python scope instead of Openvino. Openvino does not have the official support of creating executables from the samples.


One of the workaround you can try to create bat file instead of exe.



Sincerely,

Iffa


0 Kudos
Highlighted
Moderator
426 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question


Sincerely,

Iffa


0 Kudos
Highlighted
Beginner
383 Views

Here is my installer command to a project I added on to from face_recognition_demo.py, some of the parameters may not be needed for the original demo

pyinstaller  ^
    --onefile --console  ^
    --add-data=".\vcomp140.dll;." ^
    --add-data "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\inference_engine\bin\intel64\Release\plugins.xml;." ^
    --hidden-import="sklearn.preprocessing" ^
    --hidden-import="sklearn.utils._cython_blas" ^
    --hidden-import="sklearn.neighbors.typedefs" ^
    --hidden-import="sklearn.neighbors.quad_tree" ^
    --hidden-import="sklearn.tree._utils" ^
    --hidden-import="sklearn.calibration" ^
    --hidden-import="sklearn.cross_decomposition" ^
    --hidden-import="sklearn.datasets" ^
    --hidden-import="sklearn.dummy" ^
    --hidden-import="cv2" ^
    --hidden-import="openvino.inference_engine" ^
face_recognition_demo_.py
0 Kudos