0% found this document useful (0 votes)
6 views9 pages

PyInstaller Missing Modules List

The document lists various Python modules that PyInstaller was unable to find, noting that their absence does not necessarily indicate they are required for program execution. It categorizes the types of imports as top-level, conditional, delayed, and optional, and emphasizes that users should not post this list to issue trackers. The document provides specific examples of missing modules and their associated import contexts.

Uploaded by

ulhasan357
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views9 pages

PyInstaller Missing Modules List

The document lists various Python modules that PyInstaller was unable to find, noting that their absence does not necessarily indicate they are required for program execution. It categorizes the types of imports as top-level, conditional, delayed, and optional, and emphasizes that users should not post this list to issue trackers. The document provides specific examples of missing modules and their associated import contexts.

Uploaded by

ulhasan357
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

This file lists modules PyInstaller was not able to find.

This does not


necessarily mean this module is required for running your program. Python and
Python 3rd-party packages include a lot of conditional or optional modules. 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 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
tracking down the missing module yourself. Thanks!

missing module named _posixshmem - imported by multiprocessing.resource_tracker


(conditional), multiprocessing.shared_memory (conditional)
missing module named _scproxy - imported by [Link] (conditional)
missing module named termios - imported by tty (top-level), _pyrepl.pager (delayed,
optional), getpass (optional), _pyrepl.unix_console (top-level),
_pyrepl.fancy_termios (top-level), _pyrepl.unix_eventqueue (top-level)
missing module named pwd - imported by posixpath (delayed, conditional, optional),
shutil (delayed, optional), tarfile (optional), pathlib._local (optional),
subprocess (delayed, conditional, optional), [Link] (delayed, optional), netrc
(delayed, conditional), getpass (delayed, optional), psutil (optional),
setuptools._distutils.util (delayed, conditional, optional),
setuptools._distutils.archive_util (optional), setuptools._vendor.[Link]
(optional)
missing module named '[Link]' - imported by logging (top-level), inspect
(top-level), typing (top-level), [Link] (top-level), selectors
(top-level), tracemalloc (top-level), traceback (top-level), typing_extensions
(top-level), [Link] (top-level), PIL._typing (top-level), [Link]._npyio_impl
(top-level), [Link] (top-level), [Link]._function_base_impl (top-level),
numpy._typing._nested_sequence (conditional), numpy._typing._shape (top-level),
numpy._typing._dtype_like (top-level), numpy._typing._array_like (top-level),
asyncio.base_events (top-level), [Link] (top-level),
[Link] (top-level), [Link] (top-level), [Link]
(top-level), [Link] (top-level), [Link] (top-level),
[Link] (top-level), pkg_resources (top-level), setuptools (top-level),
setuptools._distutils.filelist (top-level), setuptools._distutils.util (top-level),
setuptools._vendor.[Link] (top-level),
setuptools._vendor.more_itertools.more (top-level),
setuptools._vendor.more_itertools.recipes (top-level),
setuptools._distutils._modified (top-level), setuptools._distutils.compat (top-
level), setuptools._distutils.spawn (top-level),
setuptools._distutils.[Link] (top-level),
setuptools._distutils.fancy_getopt (top-level), setuptools._reqs (top-level),
[Link] (top-level), [Link] (top-level),
setuptools._distutils.[Link] (top-level), setuptools._distutils.core (top-
level), setuptools._distutils.cmd (top-level), setuptools._distutils.dist (top-
level), configparser (top-level), setuptools._distutils.extension (top-level),
[Link] (top-level), [Link] (top-level),
[Link] (top-level), [Link]._apply_pyprojecttoml
(top-level), tomllib._parser (top-level), setuptools._vendor.tomli._parser (top-
level), [Link].egg_info (top-level),
setuptools._distutils.[Link] (top-level),
setuptools._distutils.[Link] (top-level), [Link] (top-level),
[Link]._requirestxt (top-level), [Link].bdist_wheel (top-
level), [Link] (top-level), [Link] (top-level),
[Link] (conditional), PIL.Jpeg2KImagePlugin (top-level),
[Link] (top-level), setuptools._distutils.command.build_ext (top-
level), _pyrepl.types (top-level), _pyrepl.readline (top-level),
setuptools._distutils.[Link] (top-level)
missing module named [Link] - imported by multiprocessing
(top-level), [Link] (top-level)
missing module named [Link] - imported by
multiprocessing (top-level), [Link] (top-level)
missing module named _posixsubprocess - imported by subprocess (conditional),
[Link] (delayed)
missing module named _frozen_importlib_external - imported by importlib._bootstrap
(delayed), importlib (optional), [Link] (optional), zipimport (top-level)
excluded module named _frozen_importlib - imported by importlib (optional),
[Link] (optional), zipimport (top-level)
missing module named grp - imported by shutil (delayed, optional), tarfile
(optional), pathlib._local (optional), subprocess (delayed, conditional, optional),
setuptools._distutils.archive_util (optional), setuptools._vendor.[Link]
(optional)
missing module named posix - imported by os (conditional, optional), posixpath
(optional), shutil (conditional), importlib._bootstrap_external (conditional),
_pyrepl.unix_console (delayed, optional)
missing module named resource - imported by posix (top-level)
missing module named multiprocessing.get_context - imported by multiprocessing
(top-level), [Link] (top-level), [Link] (top-
level), [Link] (top-level)
missing module named [Link] - imported by multiprocessing
(top-level), [Link] (top-level)
missing module named multiprocessing.set_start_method - imported by multiprocessing
(top-level), [Link] (top-level)
missing module named multiprocessing.get_start_method - imported by multiprocessing
(top-level), [Link] (top-level)
missing module named vms_lib - imported by platform (delayed, optional)
missing module named '[Link]' - imported by platform (delayed, optional)
missing module named java - imported by platform (delayed)
missing module named [Link] - imported by asyncio (delayed,
conditional), [Link] (delayed, conditional)
missing module named usercustomize - imported by site (delayed, optional)
missing module named sitecustomize - imported by site (delayed, optional)
missing module named _curses - imported by curses (top-level), curses.has_key (top-
level), _pyrepl.curses (optional)
missing module named fcntl - imported by subprocess (optional),
_pyrepl.unix_console (top-level)
missing module named readline - imported by cmd (delayed, conditional, optional),
code (delayed, conditional, optional), rlcompleter (optional), pdb (delayed,
optional), site (delayed, optional)
missing module named _typeshed - imported by setuptools._distutils.dist
(conditional), [Link] (conditional), [Link].py311
(conditional), pkg_resources (conditional)
missing module named '_typeshed.importlib' - imported by pkg_resources
(conditional)
missing module named jnius - imported by [Link] (delayed,
conditional, optional)
missing module named android - imported by [Link] (delayed,
conditional, optional)
missing module named importlib_resources - imported by
setuptools._vendor.[Link] (optional)
missing module named [Link].yield_lines - imported by
setuptools._vendor.[Link] (top-level), setuptools._entry_points (top-level),
[Link]._requirestxt (top-level)
missing module named _manylinux - imported by packaging._manylinux (delayed,
optional), setuptools._vendor.packaging._manylinux (delayed, optional),
[Link]._manylinux (delayed, optional)
missing module named trove_classifiers - imported by
[Link]._validate_pyproject.formats (optional)
missing module named pyimod02_importers - imported by C:\Users\MEHBOOB UL HASSAN\
AppData\Local\Programs\Python\Python313\Lib\site-packages\PyInstaller\hooks\
rthooks\pyi_rth_pkgutil.py (delayed), C:\Users\MEHBOOB UL HASSAN\AppData\Local\
Programs\Python\Python313\Lib\site-packages\PyInstaller\hooks\rthooks\
pyi_rth_pkgres.py (delayed)
missing module named _suggestions - imported by traceback (delayed, optional)
missing module named AppKit - imported by pyperclip (delayed, conditional,
optional)
missing module named Foundation - imported by darkdetect._mac_detect (optional),
pyperclip (delayed, conditional, optional)
missing module named qtpy - imported by pyperclip (delayed, conditional, optional)
missing module named _dummy_thread - imported by numpy._core.arrayprint (optional)
missing module named 'numpy_distutils.cpuinfo' - imported by [Link]
(delayed, conditional, optional)
missing module named 'numpy_distutils.fcompiler' - imported by [Link]
(delayed, conditional, optional)
missing module named 'numpy_distutils.command' - imported by [Link]
(delayed, conditional, optional)
missing module named numpy_distutils - imported by [Link] (delayed,
optional)
missing module named threadpoolctl - imported by [Link]._utils_impl (delayed,
optional)
missing module named numpy._core.zeros - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.vstack - imported by numpy._core (top-level),
[Link]._shape_base_impl (top-level), numpy (conditional)
missing module named numpy._core.void - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.vecmat - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.vecdot - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.ushort - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.unsignedinteger - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.ulonglong - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.ulong - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.uintp - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.uintc - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.uint64 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.uint32 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.uint16 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.uint - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.ubyte - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.trunc - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.true_divide - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.transpose - imported by numpy._core (top-level),
[Link]._function_base_impl (top-level), [Link]._linalg (top-level), numpy
(conditional)
missing module named numpy._core.trace - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.timedelta64 - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.tensordot - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.tanh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.tan - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.swapaxes - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.sum - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.subtract - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.str_ - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.square - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.sqrt - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional), [Link]._pocketfft (top-
level)
missing module named numpy._core.spacing - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.sort - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.sinh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.single - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.signedinteger - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.signbit - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.sign - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.short - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.rint - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.right_shift - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.result_type - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional), [Link]._pocketfft
(top-level)
missing module named numpy._core.remainder - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.reciprocal - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional), [Link]._pocketfft (top-
level)
missing module named numpy._core.radians - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.rad2deg - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.prod - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.power - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.positive - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.pi - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.outer - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.ones - imported by numpy._core (top-level),
[Link]._polynomial_impl (top-level), numpy (conditional)
missing module named numpy._core.object_ - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), numpy
(conditional)
missing module named numpy._core.number - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.not_equal - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.newaxis - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.negative - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.ndarray - imported by numpy._core (top-level),
[Link]._utils_impl (top-level), [Link]._private.utils (top-level), numpy
(conditional)
missing module named numpy._core.multiply - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.moveaxis - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.modf - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.mod - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.minimum - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.maximum - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.max - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.matrix_transpose - imported by numpy._core (top-
level), [Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.matvec - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.matmul - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.longdouble - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.long - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.logical_xor - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.logical_or - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.logical_not - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.logical_and - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.logaddexp2 - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.logaddexp - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.log2 - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.log1p - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.log - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.linspace - imported by numpy._core (top-level),
[Link]._index_tricks_impl (top-level), numpy (conditional)
missing module named numpy._core.less_equal - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.less - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.left_shift - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.ldexp - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.lcm - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.isscalar - imported by numpy._core (delayed),
[Link]._private.utils (delayed), [Link]._polynomial_impl (top-level),
numpy (conditional)
missing module named numpy._core.isnat - imported by numpy._core (top-level),
[Link]._private.utils (top-level), numpy (conditional)
missing module named numpy._core.isnan - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), numpy
(conditional)
missing module named numpy._core.isfinite - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.intp - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (top-level), numpy
(conditional), numpy._array_api_info (top-level)
missing module named numpy._core.integer - imported by numpy._core (conditional),
numpy (conditional), [Link]._helper (top-level)
missing module named numpy._core.intc - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.int8 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.int64 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.int32 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.int16 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.inf - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), numpy
(conditional)
missing module named numpy._core.inexact - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.iinfo - imported by numpy._core (top-level),
[Link]._twodim_base_impl (top-level), numpy (conditional)
missing module named numpy._core.hypot - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.hstack - imported by numpy._core (top-level),
[Link]._polynomial_impl (top-level), numpy (conditional)
missing module named numpy._core.heaviside - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.half - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.greater_equal - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.greater - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.gcd - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.frompyfunc - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.frexp - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.fmod - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.fmin - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.fmax - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.floor_divide - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.floor - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.floating - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.float_power - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.float32 - imported by numpy._core (top-level),
[Link]._private.utils (top-level), numpy (conditional),
numpy._array_api_info (top-level)
missing module named numpy._core.float16 - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.finfo - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._polynomial_impl (top-level), numpy
(conditional)
missing module named numpy._core.fabs - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.expm1 - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.exp - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.euler_gamma - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.errstate - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), numpy
(conditional)
missing module named numpy._core.equal - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.empty_like - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional), [Link]._pocketfft (top-
level)
missing module named numpy._core.empty - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (top-level), numpy
(conditional), [Link]._helper (top-level)
missing module named numpy._core.e - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.double - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.dot - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._polynomial_impl (top-level), numpy
(conditional)
missing module named numpy._core.divmod - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.divide - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.diagonal - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.degrees - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.deg2rad - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.datetime64 - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.csingle - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.cross - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.count_nonzero - imported by numpy._core (top-
level), [Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.cosh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.cos - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.copysign - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.conjugate - imported by numpy._core (conditional),
numpy (conditional), [Link]._pocketfft (top-level)
missing module named numpy._core.conj - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.complexfloating - imported by numpy._core (top-
level), [Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.complex64 - imported by numpy._core (conditional),
numpy (conditional), numpy._array_api_info (top-level)
missing module named numpy._core.clongdouble - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.character - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.ceil - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.cdouble - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.cbrt - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.bytes_ - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.byte - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.bool_ - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.bitwise_xor - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.bitwise_or - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.bitwise_count - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.bitwise_and - imported by numpy._core
(conditional), numpy (conditional)
missing module named numpy._core.atleast_3d - imported by numpy._core (top-level),
[Link]._shape_base_impl (top-level), numpy (conditional)
missing module named numpy._core.atleast_2d - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.atleast_1d - imported by numpy._core (top-level),
[Link]._polynomial_impl (top-level), numpy (conditional)
missing module named numpy._core.asarray - imported by numpy._core (top-level),
[Link]._array_utils_impl (top-level), [Link]._linalg (top-level), numpy
(conditional), [Link]._pocketfft (top-level), [Link]._helper (top-level)
missing module named numpy._core.asanyarray - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.array_repr - imported by numpy._core (top-level),
[Link]._private.utils (top-level), numpy (conditional)
missing module named numpy._core.array2string - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.array - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (top-level),
[Link]._polynomial_impl (top-level), numpy (conditional)
missing module named numpy._core.argsort - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.arctanh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arctan2 - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arctan - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arcsinh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arcsin - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arccosh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arccos - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.arange - imported by numpy._core (top-level),
[Link]._private.utils (top-level), numpy (conditional), [Link]._helper
(top-level)
missing module named numpy._core.amin - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.amax - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.all - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), numpy
(conditional)
missing module named numpy._core.add - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named yaml - imported by numpy.__config__ (delayed)
missing module named numpy._distributor_init_local - imported by numpy (optional),
numpy._distributor_init (optional)
missing module named olefile - imported by [Link] (top-level),
[Link] (top-level)
missing module named defusedxml - imported by [Link] (optional)
missing module named PyObjCTools - imported by darkdetect._mac_detect (optional)

Common questions

Powered by AI

Developers can architect Python applications to handle missing modules gracefully by adopting a design pattern that includes feature detection, fallbacks, and modular abstraction. For each application feature, they should implement a check for module availability, leveraging 'try-except' blocks and conditional imports. When a module is unavailable, alternative code paths using built-in libraries or reimplemented logic that achieve similar functionality can be utilized. Furthermore, embracing modular design principles allows parts of the application that are platform or module-specific to be isolated and substituted based on the operational environment. This ensures a seamless user experience and robust application performance irrespective of missing dependencies across systems .

PyInstaller addresses the challenge of missing modules that are specific to certain operating systems by listing these modules as potentially missing, providing the developer with the opportunity to evaluate their necessity based on the target deployment environment. Some of these modules, like '_posixshmem' and '_scproxy', are conditionally imported based on the system under which the application is running. Developers need to ensure that the program logic handles these conditions and can safely ignore or replace these modules depending on the execution context .

Missing core numpy modules like 'numpy._core.isnan' or 'numpy._core.inf' can significantly impact scientific and mathematical computations by impairing the ability to correctly handle numerical operations or identify numerical anomalies such as NaNs (Not-a-Number) or infinities, which are crucial for robust computation in data analysis, scientific simulations, and machine learning models. The absence of these modules can lead to faulty data processing, incorrect results, and runtime errors, especially in computations requiring precise numerical accuracy and error handling. To mitigate these issues, developers must ensure that numpy and its dependencies are correctly installed and available in the execution environment .

PyInstaller faces challenges in identifying required modules because Python and third-party packages include many conditional or optional modules. Conditional imports, such as those that depend on the operating system (like 'ntpath' for Windows and 'posixpath' for POSIX systems), can lead to PyInstaller being unable to find certain modules even though the program might not actually require them in the current execution environment. This is further complicated by imports used within conditionals (e.g., within 'if' statements, 'try-except' blocks, or as delayed imports within functions), which may or may not be executed depending on the runtime conditions .

Import patterns that complicate the detection of missing modules include top-level, conditional, delayed, and optional imports. Top-level imports are straightforward as they are imported at the beginning of the script, whereas conditional imports depend on if-statements, delayed imports occur within functions, and optional imports are guarded by try-except statements. Each pattern introduces variability in module presence, making it challenging for tools like PyInstaller to ascertain which modules are essential for a specific execution environment .

Platform-specific modules like 'termios' and 'pwd' affect the portability of Python programs, as they are only available on certain operating systems (e.g., POSIX systems but not Windows). This can lead to compatibility issues if a script engages in operations that depend on such modules without implementing conditional logic to handle their absence or alternatives in non-supportive environments. Developers must carefully manage import logic and provide fallbacks or alternative implementations to enhance cross-platform capability and robustness of Python programs .

The absence of Java platform modules or libraries, such as 'java.lang', for Python programs can prevent execution of functionality that relies on Java, particularly in environments where integration or interaction with Java components is necessary. This is problematic for applications that perform tasks requiring Java interoperability, such as calling Java APIs or services. Developers need to identify these dependencies early and either suitably package the Java components or rewrite Java-dependent operations in Python to ensure functionality and compatibility .

The command-line argument multiprocessing.get_context is crucial in Python applications for managing different execution contexts, such as 'spawn', 'fork', and 'forkserver'. It allows the developer to specify the context in which a multiprocessing task should run, influencing how data and processes are managed across platforms. However, challenges arise in ensuring compatibility across different operating systems (since some contexts are platform-specific) and in debugging concurrency issues that may occur if the wrong context is chosen. These challenges can be exacerbated when a required import or module is unavailable, leading to execution errors .

The list of missing modules generated by PyInstaller assists developers by highlighting potential modules that were not automatically detected and packaged. This does not necessarily indicate a problem, as these modules may be conditionally loaded or optional. However, the list serves as a starting point for developers to manually investigate and ensure that all necessary modules are included in their application bundle, thus aiding in debugging dependency issues and avoiding runtime errors due to missing modules .

It is important to avoid posting the list of missing modules to issue trackers because missing modules listed by PyInstaller are not guaranteed to be essential for the functioning of the Python program. Instead, these lists serve purely as initial guidance for developers to investigate discrepancies between the packages included by PyInstaller and the actual runtime requirements. Developers should independently verify missing modules and incorporate them manually if necessary to ensure the application's functioning across environments .

You might also like