Hi Al
From within my application directory with virtual environment enabled.
pyinstaller main.py --paths=./venv/lib64/python3.12/site-packages
or
pyinstaller main.py
Results: (multiple errors / warnings)
859 INFO: PyInstaller: 6.9.0, contrib hooks: 2024.7
860 INFO: Python: 3.12.4
862 INFO: Platform: Linux-6.5.0-44-generic-x86_64-with-glibc2.35
862 INFO: Python environment: /home/weave/Python_Work/CanDoIt/venv
863 INFO: wrote /home/weave/Python_Work/CanDoIt/main.spec
866 DEPRECATION: Foreign Python environment’s site-packages paths added to --paths/pathex:
[‘./venv/lib64/python3.12/site-packages’]
This is ALWAYS the wrong thing to do. If your environment’s site-packages is not in PyInstaller’s module search path then you are running PyInstaller from a different environment to the one your packages are in. Run print(sys.prefix) without PyInstaller to get the environment you should be using then install and run PyInstaller from that environment instead of this one. This warning will become an error in PyInstaller 7.0.
867 INFO: Module search paths (PYTHONPATH):
[‘/usr/lib/python312.zip’,
‘/usr/lib/python3.12’,
‘/usr/lib/python3.12/lib-dynload’,
‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages’,
‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/setuptools/_vendor’,
‘/home/weave/Python_Work/CanDoIt’,
‘/home/weave/Python_Work/CanDoIt/venv/lib64/python3.12/site-packages’]
330 INFO: Kivy: v2.3.0
338 INFO: Logger: Record log in /home/weave/.kivy/logs/kivy_24-08-08_0.txt
[INFO ] [Logger ] Record log in /home/weave/.kivy/logs/kivy_24-08-08_0.txt
[INFO ] [Kivy ] v2.3.0
339 INFO: Kivy: Installed at “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/init.py”
[INFO ] [Kivy ] Installed at “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/init.py”
339 INFO: Python: v3.12.4 (main, Jun 8 2024, 18:29:57) [GCC 11.4.0]
[INFO ] [Python ] v3.12.4 (main, Jun 8 2024, 18:29:57) [GCC 11.4.0]
339 INFO: Python: Interpreter at “/home/weave/Python_Work/CanDoIt/venv/bin/python3.12”
[INFO ] [Python ] Interpreter at “/home/weave/Python_Work/CanDoIt/venv/bin/python3.12”
340 INFO: Logger: Purge log fired. Processing…
[INFO ] [Logger ] Purge log fired. Processing…
345 INFO: Logger: Purge finished!
[INFO ] [Logger ] Purge finished!
346 INFO: KivyMD: 2.0.1.dev0, git-Unknown, 2024-07-25 (installed at “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivymd/init.py”)
[INFO ] [KivyMD ] 2.0.1.dev0, git-Unknown, 2024-07-25 (installed at “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivymd/init.py”)
372 INFO: Factory: 195 symbols loaded
[INFO ] [Factory ] 195 symbols loaded
1087 INFO: Image: Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
1255 INFO: Text: Provider: sdl2
[INFO ] [Text ] Provider: sdl2
1563 INFO: Window: Provider: sdl2
[INFO ] [Window ] Provider: sdl2
2423 INFO: GL: Using the “OpenGL” graphics system
[INFO ] [GL ] Using the “OpenGL” graphics system
2424 INFO: GL: Backend used
[INFO ] [GL ] Backend used
2425 INFO: GL: OpenGL version <b’3.0 Mesa 23.2.1-1ubuntu3.1~22.04.2’>
[INFO ] [GL ] OpenGL version <b’3.0 Mesa 23.2.1-1ubuntu3.1~22.04.2’>
2425 INFO: GL: OpenGL vendor <b’Mesa’>
[INFO ] [GL ] OpenGL vendor <b’Mesa’>
2425 INFO: GL: OpenGL renderer <b’AMD RV730 (DRM 2.50.0 / 6.5.0-44-generic, LLVM 15.0.7)‘>
[INFO ] [GL ] OpenGL renderer <b’AMD RV730 (DRM 2.50.0 / 6.5.0-44-generic, LLVM 15.0.7)’>
2425 INFO: GL: OpenGL parsed version: 3, 0
[INFO ] [GL ] OpenGL parsed version: 3, 0
2426 INFO: GL: Shading version <b’1.30’>
[INFO ] [GL ] Shading version <b’1.30’>
2426 INFO: GL: Texture max size <8192>
[INFO ] [GL ] Texture max size <8192>
2426 INFO: GL: Texture max units <16>
[INFO ] [GL ] Texture max units <16>
2496 INFO: Window: auto add sdl2 input provider
[INFO ] [Window ] auto add sdl2 input provider
2508 INFO: Window: virtual keyboard not allowed, single mode, not docked
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
2566 DEBUG: discover_hook_directories: Hook directories: [‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivymd/tools/packaging/pyinstaller’, ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks’, ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks’]
[DEBUG ] [discover_hook_directories] Hook directories: [‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivymd/tools/packaging/pyinstaller’, ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks’, ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks’]
3655 INFO: checking Analysis
3655 INFO: Building Analysis because Analysis-00.toc is non existent
3656 INFO: Running Analysis Analysis-00.toc
3656 INFO: Target bytecode optimization level: 0
3656 INFO: Initializing module dependency graph…
3678 INFO: Caching module graph hooks…
3738 INFO: Analyzing base_library.zip …
4782 INFO: Loading module hook ‘hook-heapq.py’ from ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks’…
4939 INFO: Loading module hook ‘hook-encodings.py’ from ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks’…
7430 INFO: Loading module hook ‘hook-pickle.py’ from ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks’…
10214 INFO: Caching module dependency graph…
10341 INFO: Looking for Python shared library…
10622 INFO: Using Python shared library: /lib/x86_64-linux-gnu/libpython3.12.so
10622 INFO: Analyzing /home/weave/Python_Work/CanDoIt/main.py
10942 INFO: Loading module hook ‘hook-kivy.py’ from ‘/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks’…
10969 INFO: Kivy: v2.3.0
10969 INFO: Logger: Record log in /home/weave/.kivy/logs/kivy_24-08-08_1.txt
[INFO ] [Logger ] Record log in /home/weave/.kivy/logs/kivy_24-08-08_1.txt
[INFO ] [Kivy ] v2.3.0
10970 INFO: Kivy: Installed at “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/init.py”
[INFO ] [Kivy ] Installed at “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/init.py”
10970 INFO: Python: v3.12.4 (main, Jun 8 2024, 18:29:57) [GCC 11.4.0]
[INFO ] [Python ] v3.12.4 (main, Jun 8 2024, 18:29:57) [GCC 11.4.0]
10970 INFO: Python: Interpreter at “/home/weave/Python_Work/CanDoIt/venv/bin/python3.12”
[INFO ] [Python ] Interpreter at “/home/weave/Python_Work/CanDoIt/venv/bin/python3.12”
10970 INFO: Logger: Purge log fired. Processing…
[INFO ] [Logger ] Purge log fired. Processing…
10972 INFO: Logger: Purge finished!
[INFO ] [Logger ] Purge finished!
11025 INFO: Factory: 195 symbols loaded
[INFO ] [Factory ] 195 symbols loaded
11025 DEBUG: Hook failed with:
Traceback (most recent call last):
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 383, in _load_hook_module
self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/compat.py”, line 583, in importlib_load_source
mod_loader.exec_module(mod)
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py”, line 16, in
from kivy.tools.packaging.pyinstaller_hooks import (add_dep_paths, get_deps_all, get_factory_modules, kivy_modules)
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/tools/packaging/pyinstaller_hooks/init.py”, line 82, in
from PyInstaller.depend import get_imports
ImportError: cannot import name ‘get_imports’ from ‘PyInstaller.depend’ (/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/init.py)
[DEBUG ] [Hook failed with]
Traceback (most recent call last):
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 383, in _load_hook_module
self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/compat.py”, line 583, in importlib_load_source
mod_loader.exec_module(mod)
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py”, line 16, in
from kivy.tools.packaging.pyinstaller_hooks import (add_dep_paths, get_deps_all, get_factory_modules, kivy_modules)
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/tools/packaging/pyinstaller_hooks/init.py”, line 82, in
from PyInstaller.depend import get_imports
ImportError: cannot import name ‘get_imports’ from ‘PyInstaller.depend’ (/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/init.py)
11061 WARNING: stderr: Traceback (most recent call last):
Traceback (most recent call last):
11061 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 383, in _load_hook_module
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 383, in _load_hook_module
11061 WARNING: stderr: self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename)
self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename)
11062 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11062 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/compat.py”, line 583, in importlib_load_source
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/compat.py”, line 583, in importlib_load_source
11062 WARNING: stderr: mod_loader.exec_module(mod)
mod_loader.exec_module(mod)
11062 WARNING: stderr: File “”, line 995, in exec_module
File “”, line 995, in exec_module
11062 WARNING: stderr: File “”, line 488, in _call_with_frames_removed
File “”, line 488, in _call_with_frames_removed
11062 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py”, line 16, in
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py”, line 16, in
11063 WARNING: stderr: from kivy.tools.packaging.pyinstaller_hooks import (add_dep_paths, get_deps_all, get_factory_modules, kivy_modules)
from kivy.tools.packaging.pyinstaller_hooks import (add_dep_paths, get_deps_all, get_factory_modules, kivy_modules)
11063 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/tools/packaging/pyinstaller_hooks/init.py”, line 82, in
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/kivy/tools/packaging/pyinstaller_hooks/init.py”, line 82, in
11063 WARNING: stderr: from PyInstaller.depend import get_imports
from PyInstaller.depend import get_imports
11063 WARNING: stderr: ImportError: cannot import name ‘get_imports’ from ‘PyInstaller.depend’ (/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/init.py)
ImportError: cannot import name ‘get_imports’ from ‘PyInstaller.depend’ (/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/init.py)
11063 WARNING: stderr:
11063 WARNING: stderr: During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
11064 WARNING: stderr:
11064 WARNING: stderr: Traceback (most recent call last):
Traceback (most recent call last):
11064 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/bin/pyinstaller”, line 8, in
File “/home/weave/Python_Work/CanDoIt/venv/bin/pyinstaller”, line 8, in
11064 WARNING: stderr: sys.exit(_console_script_run())
sys.exit(_console_script_run())
11064 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
11064 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/main.py”, line 231, in _console_script_run
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/main.py”, line 231, in _console_script_run
11065 WARNING: stderr: run()
run()
11065 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/main.py”, line 215, in run
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/main.py”, line 215, in run
11065 WARNING: stderr: run_build(pyi_config, spec_file, **vars(args))
run_build(pyi_config, spec_file, **vars(args))
11066 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/main.py”, line 70, in run_build
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/main.py”, line 70, in run_build
11066 WARNING: stderr: PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
11066 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 1216, in main
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 1216, in main
11072 WARNING: stderr: build(specfile, distpath, workpath, clean_build)
build(specfile, distpath, workpath, clean_build)
11072 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 1156, in build
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 1156, in build
11073 WARNING: stderr: exec(code, spec_namespace)
exec(code, spec_namespace)
11073 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/main.spec”, line 4, in
File “/home/weave/Python_Work/CanDoIt/main.spec”, line 4, in
11073 WARNING: stderr: a = Analysis(
a = Analysis(
11073 WARNING: stderr: ^^^^^^^^^
^^^^^^^^^
11073 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 556, in init
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 556, in init
11074 WARNING: stderr: self.postinit()
self.postinit()
11074 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/datastruct.py”, line 184, in postinit
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/datastruct.py”, line 184, in postinit
11074 WARNING: stderr: self.assemble()
self.assemble()
11075 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 696, in assemble
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/building/build_main.py”, line 696, in assemble
11075 WARNING: stderr: program_scripts.append(self.graph.add_script(script))
program_scripts.append(self.graph.add_script(script))
11075 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11075 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 268, in add_script
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 268, in add_script
11076 WARNING: stderr: self._top_script_node = super().add_script(pathname)
self._top_script_node = super().add_script(pathname)
11076 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11077 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1160, in add_script
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1160, in add_script
11096 WARNING: stderr: self._process_imports(n)
self._process_imports(n)
11097 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 2591, in _process_imports
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 2591, in _process_imports
11098 WARNING: stderr: target_modules = self._safe_import_hook(*import_info, **kwargs)
target_modules = self._safe_import_hook(*import_info, **kwargs)
11098 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11098 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 437, in _safe_import_hook
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 437, in _safe_import_hook
11098 WARNING: stderr: ret_modules = super()._safe_import_hook(
ret_modules = super()._safe_import_hook(
11098 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^
11099 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 2048, in _safe_import_hook
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 2048, in _safe_import_hook
11099 WARNING: stderr: target_modules = self.import_hook(
target_modules = self.import_hook(
11099 WARNING: stderr: ^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
11100 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1232, in import_hook
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1232, in import_hook
11100 WARNING: stderr: target_package, target_module_partname = self._find_head_package(
target_package, target_module_partname = self._find_head_package(
11100 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^
11100 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1411, in _find_head_package
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1411, in _find_head_package
11101 WARNING: stderr: target_package = self._safe_import_module(
target_package = self._safe_import_module(
11101 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^
11101 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 501, in _safe_import_module
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 501, in _safe_import_module
11102 WARNING: stderr: return super()._safe_import_module(module_basename, module_name, parent_package)
return super()._safe_import_module(module_basename, module_name, parent_package)
11102 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11102 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1792, in _safe_import_module
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 1792, in _safe_import_module
11103 WARNING: stderr: self._process_imports(n)
self._process_imports(n)
11103 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 2591, in _process_imports
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/lib/modulegraph/modulegraph.py”, line 2591, in _process_imports
11104 WARNING: stderr: target_modules = self._safe_import_hook(*import_info, **kwargs)
target_modules = self._safe_import_hook(*import_info, **kwargs)
11104 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11104 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 368, in _safe_import_hook
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 368, in _safe_import_hook
11105 WARNING: stderr: excluded_imports = self._find_all_excluded_imports(source_module.identifier)
excluded_imports = self._find_all_excluded_imports(source_module.identifier)
11105 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11105 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 356, in _find_all_excluded_imports
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/analysis.py”, line 356, in _find_all_excluded_imports
11105 WARNING: stderr: excluded_imports.update(module_hook.excludedimports)
excluded_imports.update(module_hook.excludedimports)
11106 WARNING: stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^
11106 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 316, in getattr
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 316, in getattr
11106 WARNING: stderr: self._load_hook_module()
self._load_hook_module()
11106 WARNING: stderr: File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 386, in _load_hook_module
File “/home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/depend/imphook.py”, line 386, in _load_hook_module
11106 WARNING: stderr: raise ImportErrorWhenRunningHook(self.hook_module_name, self.hook_filename)
raise ImportErrorWhenRunningHook(self.hook_module_name, self.hook_filename)
11107 WARNING: stderr: PyInstaller.exceptions.ImportErrorWhenRunningHook: Failed to import module __PyInstaller_hooks_0_kivy required by hook for module /home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py. Please check whether module __PyInstaller_hooks_0_kivy actually exists and whether the hook is compatible with your version of /home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py: You might want to read more about hooks in the manual and provide a pull-request to improve PyInstaller.
PyInstaller.exceptions.ImportErrorWhenRunningHook: Failed to import module __PyInstaller_hooks_0_kivy required by hook for module /home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py. Please check whether module __PyInstaller_hooks_0_kivy actually exists and whether the hook is compatible with your version of /home/weave/Python_Work/CanDoIt/venv/lib/python3.12/site-packages/PyInstaller/hooks/hook-kivy.py: You might want to read more about hooks in the manual and provide a pull-request to improve PyInstaller.