Groups
Groups
Sign in
Groups
Groups
PyInstaller
Conversations
About
Send feedback
Help
PyInstaller wont work anymore for me...
159 views
Skip to first unread message
Jonas
unread,
Jul 30, 2021, 4:33:40 AM
7/30/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PyInstaller
If I try to run "
pyinstaller --onefile -i ico.ico main.py
"
no matter with which python script this Error shows up:
8486 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from 'c:\\users\\jonas\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\
hook-urllib3.packages.six.moves.py
'.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "c:\users\jonas\appdata\local\programs\python\python39\lib\site-packages\urllib3\__init__.py", line 7, in <module>
import logging
File "c:\users\jonas\appdata\local\programs\python\python39\lib\site-packages\logging\__init__.py", line 618
raise NotImplementedError, 'emit must be implemented '\
^
SyntaxError: invalid syntax
pre-safe-import-module hook failed, needs fixing.
I've rly tried everything.... (Even uninstalling and installing Python again.)
Python version:
3.9.6
Reply all
Reply to author
Forward
0 new messages