You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use pyinstaller on windows 11 and python 3.12.
Got next exception:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\__main__.py", line 228, in _console_script_run
run()
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\__main__.py", line 170, in run
parser = generate_parser()
^^^^^^^^^^^^^^^^^
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\__main__.py", line 136, in generate_parser
import PyInstaller.building.build_main
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\building\build_main.py", line 28, in <module>
from PyInstaller.building.api import COLLECT, EXE, MERGE, PYZ
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\building\api.py", line 32, in <module>
from PyInstaller.building.splash import Splash # argument type validation in EXE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\building\splash.py", line 23, in <module>
from PyInstaller.depend import bindepend
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\depend\bindepend.py", line 25, in <module>
from PyInstaller.depend import dylib, utils
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\depend\utils.py", line 31, in <module>
from PyInstaller.lib.modulegraph import modulegraph
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 34, in <module>
from altgraph.ObjectGraph import ObjectGraph
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\altgraph\__init__.py", line 142, in <module>
import pkg_resources
File "C:\Users\valeriyi\AppData\Local\pypoetry\Cache\virtualenvs\pg-device-config-server-SeUiqVb2-py3.12\Lib\site-packages\pkg_resources\__init__.py", line 2158, in <module>
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Hello,
Trying to use pyinstaller on windows 11 and python 3.12.
Got next exception:
The root cause is from here:
The text was updated successfully, but these errors were encountered: