0% found this document useful (0 votes)
10 views13 pages

Missing Modules in PyInstaller

The document lists various Python modules that PyInstaller was unable to find, indicating that their absence does not necessarily mean they are required for program execution. It categorizes the types of imports as top-level, conditional, delayed, and optional, and emphasizes not to share this list on issue trackers. The document includes numerous specific missing modules and their associated import contexts, highlighting the complexity of Python's module dependencies.

Uploaded by

romullotcg
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)
10 views13 pages

Missing Modules in PyInstaller

The document lists various Python modules that PyInstaller was unable to find, indicating that their absence does not necessarily mean they are required for program execution. It categorizes the types of imports as top-level, conditional, delayed, and optional, and emphasizes not to share this list on issue trackers. The document includes numerous specific missing modules and their associated import contexts, highlighting the complexity of Python's module dependencies.

Uploaded by

romullotcg
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 [Link] - imported by urllib (optional), fpdf.py3k


(optional)
missing module named pwd - imported by posixpath (delayed, conditional, optional),
shutil (delayed, optional), tarfile (optional), pathlib._local (optional),
subprocess (delayed, conditional, optional), netrc (delayed, conditional), getpass
(delayed, optional), [Link] (delayed, optional), setuptools._distutils.util
(delayed, conditional, optional), setuptools._distutils.archive_util (optional),
setuptools._vendor.[Link] (optional)
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 posixpath (optional), shutil
(conditional), importlib._bootstrap_external (conditional), os (conditional,
optional), _pyrepl.unix_console (delayed, optional)
missing module named resource - imported by posix (top-level)
missing module named '[Link]' - imported by tracemalloc (top-level),
traceback (top-level), inspect (top-level), logging (top-level), typing (top-
level), selectors (top-level), sqlite3.dbapi2 (top-level), [Link] (top-level),
[Link]._npyio_impl (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]._exceptions (conditional), pandas._typing (top-level), [Link]
(optional), pkg_resources (top-level), setuptools (top-level),
setuptools._vendor.[Link] (top-level),
setuptools._vendor.more_itertools.more (top-level),
setuptools._vendor.more_itertools.recipes (top-level), setuptools._distutils.spawn
(top-level), setuptools._reqs (top-level), typing_extensions (top-level),
[Link] (top-level), [Link] (top-level),
setuptools._distutils.core (top-level), setuptools._distutils.cmd (top-level),
setuptools._distutils.dist (top-level), setuptools._distutils.fancy_getopt (top-
level), configparser (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), [Link] (top-level), [Link]._requirestxt (top-level),
[Link].bdist_wheel (top-level), setuptools._vendor.[Link] (top-
level), setuptools._vendor.[Link] (conditional),
[Link] (conditional), [Link]._decorators
(conditional), [Link]._validators (top-level), [Link] (top-
level), [Link] (conditional), [Link] (top-
level), [Link] (top-level), [Link] (top-level),
[Link] (conditional), [Link] (conditional),
[Link] (conditional), [Link]
(conditional), [Link] (conditional), [Link] (conditional),
[Link] (conditional), [Link] (conditional),
[Link] (conditional), [Link].object_array
(conditional), [Link].string_arrow (conditional),
[Link] (conditional), [Link] (top-level),
[Link] (top-level), [Link] (conditional),
[Link] (conditional), [Link]
(conditional), [Link] (top-level), [Link] (top-
level), [Link] (top-level), [Link]
(conditional), [Link] (conditional), [Link] (top-
level), [Link].style_render (top-level),
[Link].dataframe_protocol (conditional),
[Link] (conditional), [Link] (top-level),
[Link] (conditional),
[Link].scipy_sparse (conditional), [Link]
(top-level), [Link] (conditional),
[Link] (conditional), [Link] (conditional),
[Link]._core (conditional), [Link]._misc (conditional),
[Link] (conditional), [Link] (conditional),
[Link]._normalize (conditional), [Link].base_parser
(conditional), [Link].c_parser_wrapper (conditional),
[Link].python_parser (top-level), [Link]
(conditional), [Link]._json (conditional), [Link] (conditional),
[Link] (conditional), [Link] (top-level),
[Link] (conditional), [Link]._base (top-level),
[Link]._util (top-level), [Link] (conditional),
[Link] (conditional), [Link]
(conditional), [Link] (conditional),
[Link] (top-level), [Link]
(conditional), [Link].array_manager (conditional),
[Link] (conditional), [Link]
(conditional), [Link] (conditional), [Link]
(conditional), [Link] (conditional),
[Link].pickle_compat (conditional), [Link]
(conditional), [Link] (conditional), [Link]
(conditional), [Link] (conditional), [Link] (top-
level), [Link] (conditional), [Link] (top-
level), [Link] (conditional), [Link]
(conditional), [Link] (top-level), [Link]
(conditional), [Link] (conditional),
[Link] (conditional), [Link]
(conditional), [Link]._mixins (conditional),
[Link] (conditional), [Link]
(conditional), [Link] (conditional),
[Link].feather_format (conditional), [Link] (conditional),
[Link] (top-level), [Link] (top-level),
[Link] (conditional), [Link] (conditional),
[Link] (conditional), [Link]
(conditional), [Link] (conditional), pandas._config.config
(conditional), [Link] (conditional), [Link]
(top-level), pandas._config.localization (conditional), pandas._testing.contexts
(conditional), pandas._testing._warnings (conditional), [Link]
(conditional), [Link] (conditional), [Link] (conditional),
_pyrepl.types (top-level), _pyrepl.readline (top-level)
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 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 _posixsubprocess - imported by subprocess (conditional),
[Link] (delayed)
missing module named fcntl - imported by subprocess (optional),
_pyrepl.unix_console (top-level)
missing module named [Link] - imported by asyncio (delayed,
conditional), [Link] (delayed, conditional)
missing module named _posixshmem - imported by multiprocessing.resource_tracker
(conditional), multiprocessing.shared_memory (conditional)
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 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 _scproxy - imported by [Link] (conditional)
missing module named termios - imported by getpass (optional), tty (top-level),
_pyrepl.pager (delayed, optional), _pyrepl.unix_console (top-level),
_pyrepl.fancy_termios (top-level), _pyrepl.unix_eventqueue (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 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 readline - imported by cmd (delayed, conditional, optional),
code (delayed, conditional, optional), rlcompleter (optional), pdb (delayed,
optional), site (delayed, optional), sqlite3.__main__ (delayed, conditional,
optional)
missing module named '_typeshed.importlib' - imported by pkg_resources
(conditional)
missing module named _typeshed - imported by [Link] (conditional),
[Link].py311 (conditional), pkg_resources (conditional)
missing module named jnius - imported by setuptools._vendor.[Link]
(delayed, conditional, optional)
missing module named android - imported by setuptools._vendor.[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),
setuptools._vendor.[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\USER\AppData\Local\
Programs\Python\Python313\Lib\site-packages\PyInstaller\hooks\rthooks\
pyi_rth_pkgutil.py (delayed), C:\Users\USER\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 [Link] - imported by [Link] (top-level),
[Link] (top-level)
runtime module named [Link] - imported by [Link] (top-level),
[Link]._factories (top-level), [Link] (top-level), [Link]
(top-level)
missing module named [Link] - imported by [Link] (top-level),
[Link] (top-level)
missing module named StringIO - imported by six (conditional)
missing module named numexpr - imported by [Link]
(conditional), [Link] (delayed)
missing module named numba - imported by [Link]._numba.executor (delayed,
conditional), [Link].numba_ (delayed, conditional),
[Link].numba_ (delayed, conditional), [Link]
(delayed, conditional), [Link]._numba.kernels.mean_ (top-level),
[Link]._numba.[Link] (top-level), [Link]._numba.kernels.sum_
(top-level), [Link]._numba.kernels.min_max_ (top-level),
[Link]._numba.kernels.var_ (top-level), [Link].numba_ (delayed,
conditional), [Link]._numba.extensions (top-level)
missing module named '[Link]' - imported by
[Link]._numba.kernels.sum_ (top-level)
missing module named '[Link]' - imported by
[Link] (conditional),
[Link]._arrow_string_mixins (conditional),
[Link].string_arrow (conditional), [Link] (delayed,
conditional), [Link] (conditional)
missing module named '[Link]' - imported by [Link]._numba.extensions
(delayed)
missing module named '[Link]' - imported by [Link]._numba.extensions (top-
level)
missing module named pyarrow - imported by [Link]
(conditional), [Link] (delayed), [Link]
(delayed, conditional), [Link].string_ (delayed, conditional),
[Link]._arrow_string_mixins (conditional),
[Link].string_arrow (conditional),
[Link]._arrow_utils (top-level), [Link]
(delayed, conditional), [Link] (delayed, conditional),
[Link].base_parser (delayed, conditional), [Link]
(delayed), [Link].extension_types (top-level),
[Link] (delayed), [Link] (delayed,
conditional), [Link] (delayed, conditional), [Link]
(delayed, conditional), [Link] (delayed, conditional),
[Link] (conditional), [Link].feather_format (delayed),
[Link] (delayed, conditional), [Link] (delayed,
conditional), [Link] (conditional),
[Link] (delayed, conditional), [Link] (optional),
[Link] (delayed, conditional), pandas._testing (conditional)
missing module named _dummy_thread - imported by numpy._core.arrayprint (optional)
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.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.timedelta64 - imported by numpy._core
(conditional), 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.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.spacing - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.sinh - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.signedinteger - imported by numpy._core
(conditional), 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.remainder - imported by numpy._core (conditional),
numpy (conditional)
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.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.not_equal - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.negative - imported by numpy._core (conditional),
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.matvec - imported by numpy._core (conditional),
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.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.integer - imported by numpy._core (conditional),
numpy (conditional), [Link]._helper (top-level)
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.hypot - imported by numpy._core (conditional),
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.float16 - imported by numpy._core (conditional),
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.equal - imported by numpy._core (conditional),
numpy (conditional)
missing module named numpy._core.e - imported by numpy._core (conditional), numpy
(conditional)
missing module named numpy._core.divmod - imported by numpy._core (conditional),
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.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.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.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.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.ones - imported by numpy._core (top-level),
[Link]._polynomial_impl (top-level), 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.atleast_1d - imported by numpy._core (top-level),
[Link]._polynomial_impl (top-level), 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.vstack - imported by numpy._core (top-level),
[Link]._shape_base_impl (top-level), 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.result_type - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional), [Link]._pocketfft
(top-level)
missing module named numpy._core.number - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.max - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.array2string - imported by numpy._core (delayed),
[Link]._private.utils (delayed), numpy (conditional)
missing module named numpy._core.signbit - imported by numpy._core (delayed),
[Link]._private.utils (delayed), 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.array_repr - imported by numpy._core (top-level),
[Link]._private.utils (top-level), 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.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.vecdot - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.matmul - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.outer - 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.trace - 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.reciprocal - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional), [Link]._pocketfft (top-
level)
missing module named numpy._core.sort - imported by numpy._core (top-level),
[Link]._linalg (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.sign - imported by numpy._core (top-level),
[Link]._linalg (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.count_nonzero - imported by numpy._core (top-
level), [Link]._linalg (top-level), 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.swapaxes - imported by numpy._core (top-level),
[Link]._linalg (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.asanyarray - 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.atleast_2d - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.amax - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.amin - 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.errstate - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), 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.isfinite - 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.sqrt - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional), [Link]._pocketfft (top-
level)
missing module named numpy._core.multiply - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.add - 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.inf - imported by numpy._core (top-level),
[Link]._linalg (top-level), [Link]._private.utils (delayed), 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.newaxis - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.inexact - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.csingle - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.single - imported by numpy._core (top-level),
[Link]._linalg (top-level), numpy (conditional)
missing module named numpy._core.intc - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.zeros - imported by numpy._core (top-level),
[Link]._linalg (top-level), 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.iinfo - imported by numpy._core (top-level),
[Link]._twodim_base_impl (top-level), 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.ndarray - imported by numpy._core (top-level),
[Link]._utils_impl (top-level), [Link]._private.utils (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 threadpoolctl - imported by [Link]._utils_impl (delayed,
optional)
missing module named psutil - imported by [Link]._private.utils (delayed,
optional)
missing module named win32pdh - imported by [Link]._private.utils (delayed,
conditional)
missing module named '[Link]' - imported by [Link] (delayed,
conditional)
missing module named scipy - imported by [Link] (delayed, conditional),
[Link] (delayed)
missing module named traitlets - imported by [Link] (delayed,
conditional)
missing module named '[Link]' - imported by [Link]
(delayed, conditional)
missing module named IPython - imported by [Link] (delayed)
missing module named xlsxwriter - imported by [Link]._xlsxwriter (delayed)
missing module named '[Link]' - imported by [Link]._openpyxl
(delayed)
missing module named '[Link]' - imported by [Link]._openpyxl
(delayed)
missing module named '[Link]' - imported by [Link]._openpyxl
(delayed)
missing module named '[Link]' - imported by [Link]._openpyxl
(conditional)
missing module named openpyxl - imported by [Link]._openpyxl (delayed,
conditional)
missing module named '[Link]' - imported by [Link]._odswriter
(delayed)
missing module named '[Link]' - imported by [Link]._odswriter (delayed)
missing module named '[Link]' - imported by [Link]._odfreader (delayed),
[Link]._odswriter (delayed)
missing module named '[Link]' - imported by [Link]._odfreader
(delayed), [Link]._odswriter (delayed)
missing module named '[Link]' - imported by [Link]._odfreader
(delayed), [Link]._odswriter (delayed)
missing module named xlrd - imported by [Link]._xlrd (delayed,
conditional), [Link]._base (delayed, conditional)
missing module named pyxlsb - imported by [Link]._pyxlsb (delayed,
conditional)
missing module named '[Link]' - imported by [Link]._odfreader
(delayed)
missing module named '[Link]' - imported by [Link]._odfreader
(delayed)
missing module named '[Link]' - imported by [Link]._odfreader
(delayed)
missing module named odf - imported by [Link]._odfreader (conditional)
missing module named python_calamine - imported by [Link]._calamine
(delayed, conditional)
missing module named '[Link]' - imported by [Link]
(optional)
missing module named matplotlib - imported by [Link]._core (conditional),
[Link] (optional)
missing module named '[Link]' - imported by [Link]._misc
(conditional), [Link] (conditional)
missing module named markupsafe - imported by [Link].style_render (top-
level)
missing module named botocore - imported by [Link] (delayed, conditional,
optional)
missing module named sets - imported by [Link] (optional)
missing module named UserDict - imported by [Link] (optional)
missing module named '[Link]' - imported by [Link]
(conditional), [Link].scipy_sparse (delayed, conditional),
[Link] (delayed), [Link] (delayed,
conditional, optional)
missing module named [Link] - imported by
[Link] (conditional), [Link] (conditional)
missing module named Foundation - imported by [Link] (delayed,
conditional, optional)
missing module named AppKit - imported by [Link] (delayed,
conditional, optional)
missing module named PyQt4 - imported by [Link] (delayed, conditional,
optional)
missing module named qtpy - imported by [Link] (delayed, conditional,
optional)
missing module named '[Link]' - imported by [Link] (delayed)
missing module named '[Link]' - imported by [Link] (delayed,
conditional)
missing module named '[Link]' - imported by [Link] (delayed)
missing module named '[Link]' - imported by [Link] (conditional)
missing module named sqlalchemy - imported by [Link] (delayed, conditional)
missing module named tables - imported by [Link] (delayed, conditional)
missing module named '[Link]' - imported by [Link] (delayed),
[Link] (delayed), [Link] (delayed)
missing module named lxml - imported by [Link] (conditional)
missing module named '[Link]' - imported by [Link] (conditional)
missing module named fsspec - imported by [Link] (conditional)
missing module named '[Link]' - imported by [Link] (delayed)
missing module named google - imported by [Link] (conditional)
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 charset_normalizer - imported by [Link]
(optional)
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 '[Link]' - imported by [Link] (delayed)
missing module named bs4 - imported by [Link] (delayed)
missing module named pytest - imported by pandas._testing._io (delayed),
pandas._testing (delayed)
missing module named '[Link]' - imported by [Link]._misc
(conditional), pandas._testing.asserters (delayed)
missing module named '[Link]' - imported by pandas._testing.asserters
(delayed)
missing module named '[Link]' - imported by [Link]._misc
(conditional)
missing module named '[Link]' - imported by [Link]._misc
(conditional)
missing module named HTMLParser - imported by fpdf.py3k (optional)
missing module named Image - imported by fpdf.py3k (optional)
missing module named PIL - imported by fpdf.py3k (optional)
missing module named md5 - imported by fpdf.py3k (optional)
missing module named cPickle - imported by fpdf.py3k (optional)

Common questions

Powered by AI

Delayed or conditional imports might cause runtime errors that do not manifest until the specific condition or function invoking the import is met, making debugging difficult. Developers can overcome these challenges by thoroughly testing code paths that involve such imports, using mocking in unit tests to simulate the presence of these modules, and providing clear documentation on module dependencies and conditions for their use .

Modules like 'collections.abc' are foundational for providing abstract base classes used throughout higher-level libraries such as pandas and numpy. A missing 'collections.abc' module can lead to AttributeErrors, breaking library functionality wherever these base classes are used for creating custom collections or performing type checks. This underscores the importance of having essential dependencies installed, as they directly impact the efficacy of higher-level library operations .

Conditional, delayed, and optional imports can affect the execution and debugging of Python programs by introducing module dependencies that only manifest in specific conditions or execution paths. Conditional imports can lead to missing module errors if certain conditions are not met. Delayed imports, made within functions, may cause errors to appear only when specific functions are called. Optional imports are surrounded by try-except blocks, which can silently fail unless explicitly checked, making debugging more complex .

The document advises against posting the list of missing modules to issue trackers because the list is meant to assist in tracking down missing modules independently, as they might not necessarily be required for the program to run .

The importlib module offers a programmatic way to import modules, manage the import process, and customize the loading of modules, which relates directly to addressing and finding missing modules. It allows developers to control module loading through its hooks and extensibility features, offering the ability to dynamically load code as needed. This capability becomes crucial when debugging or tracing missing module imports, as it provides deeper integration and handling options .

Optional imports allow developers to make certain features available only when specific dependencies are present, reducing the baseline requirements for installation and improving application distribution flexibility. This practice enables applications to scale better across environments with diverse configurations, such as systems that cannot or should not install all potential dependencies due to size or security reasons .

'Try-except' blocks in module importation allow developers to handle ImportError exceptions gracefully when a module is optional or non-critical for the application’s core functionality. This prevents runtime crashes due to missing modules and allows for fallback mechanisms or alternative implementations, thus maintaining application stability .

Conditional and optional module imports are used to increase cross-platform compatibility by allowing the code to run on different operating systems without immediate errors. For instance, modules such as 'ntpath' for Windows or 'posixpath' for Unix-like systems are imported based on the platform, thus avoiding errors on unsupported systems. This approach enables the same codebase to adapt dynamically to different environments .

Modules might be missing in Python applications due to conditional imports based on the operating system, optional dependencies that are not always installed, or version-specific features. For example, 'ntpath' only exists on Windows, and 'posixpath' only exists on Posix systems. Additionally, some modules are conditionally imported within if-statements or try-except blocks to handle potential import errors gracefully .

Modules like urllib.urlopen might be imported optionally in Python applications to provide functionalities that are not always needed for core operations. This approach benefits the program by preventing unnecessary dependencies from inflating the application's requirements and allowing for features to be used only when specifically needed. This leads to more efficient memory and resource utilization .

You might also like