How to downgrade the installed version of 'pip' on windows?

后端 未结 2 2016
执笔经年
执笔经年 2020-12-09 07:18

On a windows 7 machine I have pip version 1.5.6 installed:

pip 1.5.6 from C:\\Users\\dietz\\PNC\\tas\\ENV\\lib\\site-packages (python 2.7)


        
相关标签:
2条回答
  • 2020-12-09 08:02

    pip itself is just a normal python package. Thus you can install pip with pip.

    Of cource, you don't want to affect the system's pip, install it inside a virtualenv.

    pip install pip==1.2.1
    
    0 讨论(0)
  • 2020-12-09 08:07

    If downgrading from pip version 10 because of PyCharm manage.py or other python errors:

    python -m pip install pip==9.0.1
    
    0 讨论(0)
提交回复
热议问题