python中使用pyinstaller打包exe遇到的报错

下载pyinstaller的命令:pip install pyinstaller

今天我打包成exe文件所遇到的

错误问题:The 'typing' package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please `cond
a remove typing` then try again.

 这个错误提示输入:conda remove typing

 所以我们在pycharm终端输入:conda remove typing

 之后会提醒你以前有问题的软件包是否删除,你就输入  y   就可以了

 之后你在输入你所要打包的文件就好了。

 这是我打包exe文件遇到的问题,希望有助你!!!

猜你喜欢

转载自blog.csdn.net/qq_62870237/article/details/122136194