操作系统: win7 32位
报错原因:缺少setuptools模块
解决方法:下载安装
第一步:下载pip包:
https://pypi.org/project/setuptools/#files
第二步:双击解压
image.png第三步:在解压后的文件夹里,点击运行一下想要的exe文件
image.png第四步:复制setup.py的路径
image.png第五步: 在cmd里,进入文件夹
注意:1. cd 后面有一个空格
-
在命令提示行里,粘贴的时候,要用鼠标右键,不能用快捷键。
image.png
第六步: 输入命令: python setup.py install
然后回车。 问题应该能得到解决。
总结:
- 报错:模块没有的解决方法: 安装模块
- 安装模块的方法:下载,解压,cmd进入路径,运行
python setup.py install
命令
网友评论