更新pip也无法正常运行get-pip.py文件

时间:2018-12-03 18:16:27

标签: python python-3.x bash pip git-bash

我尝试更新Git Bash中的点,这就是发生的情况,需要帮助。

$ python -m pip install --upgrade pip
Collecting pip
    Using cached https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl
    Installing collected packages: pip
      Found existing installation: pip 10.0.1
        Uninstalling pip-10.0.1:
    Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\program files (x86)\\python37-32\\lib\\site-packages\\pip-10.0.1.dist-info\\entry_points.txt'
    Consider using the `--user` option or check the permissions.

    You are using pip version 10.0.1, however version 18.1 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.

同样,get-pip.py文件也无法正常工作,谢谢。

0 个答案:

没有答案