The 'typing' package is an obsolete backport of a standard library package and is incompatible with PyInstaller
Question:
When I try to convert my python file to exe using pyinstaller.
Input:
PS C:UsersUserDesktopНовая папка (5)> pyinstaller -F send.py
I got this error.
Output:
The 'typing' package is an obsolete backport of a standard library package and is incompatible with PyInstaller.
Please `pip uninstall typing` then try again.
Answers:
Thanks for everybody who did not helped me. I found solution on my own, I needed to write on console this:
pip uninstall typing
That’s all
When you say "I found solution on my own", you mean "I have read the error message"?
Because the error message you posted litteraly said
Please pip uninstall typing
then try again.
U can in the file compat.py of pyinstaller line:
for name in ["enum34", "typing"]:
and remove "typing"
for name in ["enum34"]:
It seems to work …
When I try to convert my python file to exe using pyinstaller.
Input:
PS C:UsersUserDesktopНовая папка (5)> pyinstaller -F send.py
I got this error.
Output:
The 'typing' package is an obsolete backport of a standard library package and is incompatible with PyInstaller.
Please `pip uninstall typing` then try again.
Thanks for everybody who did not helped me. I found solution on my own, I needed to write on console this:
pip uninstall typing
That’s all
When you say "I found solution on my own", you mean "I have read the error message"?
Because the error message you posted litteraly said
Please
pip uninstall typing
then try again.
U can in the file compat.py of pyinstaller line:
for name in ["enum34", "typing"]:
and remove "typing"
for name in ["enum34"]:
It seems to work …