当我尝试使用pyinstaller将python文件转换为exe时。
输入:
PS C:UsersUserDesktopНовая папка (5)> pyinstaller -F send.py
我犯了这个错误。
输出:
The 'typing' package is an obsolete backport of a standard library package and is incompatible with PyInstaller.
Please `pip uninstall typing` then try again.
感谢所有没有帮助我的人。我自己找到了解决方案,我需要在控制台上写下:
pip uninstall typing
这都是
U可以在pyinstaller行的compat.py文件中:
for name in ["enum34", "typing"]:
并删除";键入";
for name in ["enum34"]:
它似乎起作用。。。