如何使用pip安装pyinstaller

时间:2015-03-16 04:00:57

标签: python pyinstaller

我正在尝试使用pip安装PyInstaller,但我没有这样做。我有Python 2.7。

错误:

C:\Python27\Scripts>pip install pyinstaller
Downloading/unpacking pyinstaller
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pyinstaller
No distributions at all found for pyinstaller
Storing complete log in C:\Users\hardik\AppData\Roaming\pip\pip.log

我尝试先使用pip install -U pip setuptools升级pip,但遇到了同样的错误:

C:\Users\hardik>pip install -U pip setuptools
Cannot fetch index base URL pypi.python.org/simple
Could not find any downloads that satisfy the requirement pip in c:\python27\lib \site-packages
No distributions at all found for pip in c:\python27\lib\site-packages
Storing complete log in C:\Users\hardik\AppData\Roaming\pip\pip.log

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,这就是我解决它的方法:

pip install https://github.com/pyinstaller/pyinstaller/tarball/develop