Python issue after updating pip and setuptools #4
Unanswered
ghost
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have encountered what I think is a bug but wanted to run it past more experienced users.
After installing python3
brew install pythonAnd running
pip list --outdatedUsing the instructions on the Homebrew documentation for python on updating
pipandsetuptoolsI ran the following commands:This resulted in many issues for my brew install of python.
Python installed aliases were replaced with executables and aliases became corrupted and running
brew test pythonresulted in errors:I thought maybe running
brew unlink python && brew link pythonwould help:So I follow directions and run:
Now the previous executables are replaced with aliases and executables have been installed inside:
/usr/local/Cellar/python@3.8/3.8.5/binbrew test python3still gives me the same errors as above.Checking version for pip inside /usr/local/bin
That’s weird. It seems all of my python aliases are messed up after updating
pipandsetuptoolsusing the command that Homebrew recommends.Look at this error when trying to get version of pip3 by path.
To fix the issue I try to go back to the default install without updating
pipandsetuptools. So, Ibrew uninstall --ignore-dependencies python && brew install pythonto test my theory and voila…Everything is functioning again but I am conerned about the line in the error message:
It seems maybe the requirements aren't being updated when a user upgrades to the latest version of pip and setup tools as suggested on the homebrew python documentation.
Any ideas on how to get around this or if this is a "bug"?
Beta Was this translation helpful? Give feedback.
All reactions