Pip Command Is Not Working After Upgrade From 19.2.3 To 20.0
pip command is not working after an upgrade from 19.2.3 to 20.0. Facing this issue in python. How to go back to previous version of pip? C:\Users\sagkumar>pip --version pip 20.0
Solution 1:
python -m pip install --upgrade pip
Collecting pip Downloading https://files.pythonhosted.org/packages/57/36/67f809c135c17ec9b8276466cc57f35b98c240f55c780689ea29fa32f512/pip-20.0.1-py2.py3-none-any.whl (1.5MB) 100% |████████████████████████████████| 1.5MB 145kB/s Installing collected packages: pip Found existing installation: pip 18.1 Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr Can't uninstall 'pip'. No files were found to uninstall. Successfully installed pip-20.0.1
python -m pip install psycopg2
Solution 2:
You could use this script to downgrade to any version:
curl https://bootstrap.pypa.io/get-pip.py | python - 'pip==19.3.1'
Post a Comment for "Pip Command Is Not Working After Upgrade From 19.2.3 To 20.0"