
pip install pyinstaller安装报错,python安装pyinstaller报错
今天想把python程序转成exe,查了需要安装pyinstaller,一开始输入pip install pyinstaller会报错
更新代码 :pip install -U xxxx(其中xxxx是包名)
安装代码:pip install xxxx(xxxx你懂得是包名)
说说我的安装失败过程:
首先,打开win+r打开,输入cmd,打开后,输入pip install pyinstaller,然后就一堆红字,
依次键入了:
(1)pip install pywin32;
(2)pip install wheel
(3)pip install -U setuptools
(4)pip install pyinstaller
安装成功,应该是缺了pip install -U setuptools这个setuptool是旧的导致出现问题
原文参考:https://blog.csdn.net/weixin_44224198/article/details/98477765