pip may break in the next major version #196
Unanswered
nilslindemann
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good evening,
There is an issue with the latest pip (version 23.3 here) and
devscripts
:So, in the next major version of pip things are going to break.
There is a fix available.
However,
pip install devscripts --upgrade
will not work. It will not upgrade the right package, but instead will install another unrelated one.sudo apt install --only-upgrade devscripts
is probably the right thing to do, but on Linux Mint it currently does not upgrade to the fix. The latest version is still2.22.1ubuntu1
.A temporary radical "solution" is to downgrade pip:
pip install pip==23.1.2
. To then disable the upgrade checks, addexport PIP_DISABLE_PIP_VERSION_CHECK=1
to your.bashrc
. See also here. If during this process you get a warningThere was an error checking the latest version of pip
, then delete~/.cache/pip
. See also here.Beta Was this translation helpful? Give feedback.
All reactions