question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot downgrade to pip 9

See original GitHub issue
  • Pip version: pip 10.0.0 from /opt/anaconda/lib/python3.6/site-packages/pip (python 3.6)
  • Python version: Python 3.6.4 :: Anaconda custom (64-bit)
  • Operating system: Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial

Description:

trying to install catboost. I suspect it fails due to pip 10.0.0 since I know it works in older pip versions. Trying to downgrade pip fails.

What I’ve run:

python -m pip install pip==9.0.3 --upgrade --force-reinstall
Collecting pip==9.0.3
  Downloading https://files.pythonhosted.org/packages/ac/95/a05b56bb975efa78d3557efa36acaf9cf5d2fd0ee0062060493687432e03/pip-9.0.3-py2.py3-none-any.whl (1.4MB)
    100% |################################| 1.4MB 29.5MB/s
Installing collected packages: pip
  Found existing installation: pip 10.0.0
    Uninstalling pip-10.0.0:

pip --version
pip 10.0.0 from /opt/anaconda/lib/python3.6/site-packages/pip (python 3.6)

I would expect to get pip 9.0.3 when I do pip --version

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

25reactions
littleheracommented, May 23, 2018

I managed to revert pip to 9.0.3 using: sudo pip install --force-reinstall pip==9.0.3

15reactions
Kobra299commented, Apr 19, 2018

you should be able to do it with this I just did it on windows based system so please adjust to your OS

python -m pip uninstall pip python -m ensurepip python -m pip install -U “pip<10”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to downgrade version of Python package by `pip install
On a particular server I was unable to, as the below command calls to install 0.13.2 but ends up install back 0.17.0. If...
Read more >
How to upgrade and downgrade PIP | Learn [Solve IT]
Here are the steps to upgrade and downgrade PIP. Upgrade PIP: Run the following command below to upgrade the Pip to version to...
Read more >
How to Install PIP on Windows: A Simple Guide with ...
This tutorial covers how to install PIP for Python on Windows. ... how to configure it on Windows, and how to upgrade (or...
Read more >
User Guide - pip documentation v22.3.1
If necessary to satisfy constraints, pip will happily reinstall packages, upgrading or downgrading, without needing any additional command-line options (see # ...
Read more >
How to Install, Downgrade, Upgrade and Uninstall PIP on ...
Your browser can't play this video. ... Step 1: Open CMD or Command Prompt Step 2: Downgrade PIP Version Type py -m pip...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found