windows安装pyinstaller报错-----解决

windows安装pyinstaller报错-----解决

在cmd命令行中输入下面的代码,换一种命令方式安装成功

c:\Anaconda3\python.exe -m pip install  pyinstaller -i https://pypi.douban.com/simple

c:\Anaconda3\python.exe #这是我安装python解释器的位置。根据自己的实际安装位置来修改命令代码
windows安装pyinstaller报错-----解决_第1张图片
安装成功后测试一下是否安装成功,输入命令
pyinstaller -F turtle0001.py
注意:切换到turtle0001.py的文件夹目录下,再输入命令
windows安装pyinstaller报错-----解决_第2张图片
windows安装pyinstaller报错-----解决_第3张图片

pip --default-timeout=100 install 库名称 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

华为云社区用户转载文章:https://bbs.huaweicloud.com/blogs/151989

https://bbs.huaweicloud.com/blogs/151989

你可能感兴趣的:(windows安装pyinstaller报错-----解决)