小编kam*_*azz的帖子

“typing”包是标准库包的过时向后移植,并且与 PyInstaller 不兼容

当我尝试使用 pyinstaller 将 python 文件转换为 exe 时。

\n

输入:

\n
PS C:\\Users\\User\\Desktop\\\xd0\x9d\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x8f \xd0\xbf\xd0\xb0\xd0\xbf\xd0\xba\xd0\xb0 (5)> pyinstaller -F  send.py\n
Run Code Online (Sandbox Code Playgroud)\n

我收到这个错误。

\n

输出:

\n
The \'typing\' package is an obsolete backport of a standard library package and is incompatible with PyInstaller. \nPlease `pip uninstall typing` then try again.\n
Run Code Online (Sandbox Code Playgroud)\n

python console module pyinstaller windows-console

2
推荐指数
1
解决办法
9392
查看次数

标签 统计

console ×1

module ×1

pyinstaller ×1

python ×1

windows-console ×1