降级Python设置工具
尝试使用Pyinstaller时出错。在做了一些研究之后,我相信这个错误是由最新版本的setuptools(19.3)中的一个bug引起的。修复程序似乎正在降级到setuptools版本19.2。我的问题是降级本身。我的问题是如何在Ubuntu 15.04中降级setuptools 只需使用降级Python设置工具,python,setuptools,pyinstaller,Python,Setuptools,Pyinstaller,尝试使用Pyinstaller时出错。在做了一些研究之后,我相信这个错误是由最新版本的setuptools(19.3)中的一个bug引起的。修复程序似乎正在降级到setuptools版本19.2。我的问题是降级本身。我的问题是如何在Ubuntu 15.04中降级setuptools 只需使用pip指定版本即可: pip install setuptools==19.2 如果您在全球范围内安装,显然需要sudo ~$ sudo pip install setuptools==19.2 Coll
pip
指定版本即可:
pip install setuptools==19.2
如果您在全球范围内安装,显然需要sudo
~$ sudo pip install setuptools==19.2
Collecting setuptools==19.2
Downloading setuptools-19.2-py2.py3-none-any.whl (463kB)
100% |████████████████████████████████| 466kB 486kB/s
Installing collected packages: setuptools
Found existing installation: setuptools 19.1
Uninstalling setuptools-19.1:
Successfully uninstalled setuptools-19.1
Successfully installed setuptools-19.2
~$ sudo pip install setuptools==19.1
Collecting setuptools==19.1
Downloading setuptools-19.1-py2.py3-none-any.whl (463kB)
100% |████████████████████████████████| 466kB 377kB/s
Installing collected packages: setuptools
Found existing installation: setuptools 19.2
Uninstalling setuptools-19.2:
Successfully uninstalled setuptools-19.2
Successfully installed setuptools-19.1
谢谢@Padriac Cunningham