deal with OSX "Extras" preventing upgrades
See original GitHub issueMy operating system is OS X Yosemite with system python. I installed pip with sudo easy_install pip
. When trying to install latest packages into the user site, it always report a fake success.
For example:
pip install --user --upgrade numpy
Collecting numpy from https://pypi.python.org/packages/cp27/n/numpy/numpy-1.9.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=296f576bb648b8195b379b0bf39791ce
Using cached numpy-1.9.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing collected packages: numpy
Successfully installed numpy-1.8.0rc1
So basically it downloads 1.9.2 and tells me it successfully upgrades to 1.8.0rc1. I also tried add an option --ignore-installed
, but the same thing happens.
Issue Analytics
- State:
- Created 9 years ago
- Comments:21 (3 by maintainers)
Top Results From Across the Web
How to remove annoying "Upgrade to macOS
Step 1: Open the Mac App Store and click the Updates tab. Step 2: Right click on the update(s) that you wish to...
Read more >How To Stop macOS Update Notification Pop-Ups - Macworld
In High Sierra: Open System Preferences. Click on App Store. Click on the box beside Automatically check for updates to deselect it.
Read more >Big Sur Upgrade Not Enough Free Space [UPDATE] NEW ...
Did you upgrade to macOS Big Sur & your Mac is in a boot loop with ... free space for the upgrade, it...
Read more >Big Sur Upgrade Not Enough Free Space Boot Loop FIX ...
Did you upgrade to macOS Big Sur & your Mac is in a boot loop with error "An error occurred preparing the software...
Read more >How to fix common macOS Ventura issues - Setapp
You have nothing to worry about if your Mac data is safely backed up. Even if something goes wrong in the process of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m on Sierra, and I didn’t have an Extras.pth in site-packages, but I was still getting “Extras” early in my Python path. My site-packages was cluttered with tons of stuff over many years so I decided to wipe it all out and start over again. I don’t know why, but that fixed my problem and I no longer have Extras on my path at all. Posting here in case it helps others.
Can this be fixed or patched in the
pip
installation? New users of python on Mac should not learn how to work around this bug. They would probably just go for the easysudo
solution, which is dangerous.