繁体   English   中英

如何使用pip安装pyinstaller

[英]How to install pyinstaller using pip

我正在尝试使用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

我面临着同样的问题,这就是我解决的方法:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM