【问题标题】:How to install pyinstaller using pip如何使用 pip 安装 pyinstaller
【发布时间】:2015-03-16 04:00:56
【问题描述】:

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

【问题讨论】:

    标签: python pyinstaller


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-18
      • 1970-01-01
      • 2017-10-14
      • 1970-01-01
      • 1970-01-01
      • 2023-03-23
      • 2016-06-09
      • 2019-01-21
      相关资源
      最近更新 更多