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.
Asked By: kamazz

||

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

Answered By: kamazz

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.

Answered By: PhunkyBob

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 …

Answered By: ElPrg