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.

deal with OSX "Extras" preventing upgrades

See original GitHub issue

My 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:closed
  • Created 9 years ago
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jeffoneillcommented, Sep 3, 2017

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.

2reactions
netheril96commented, Mar 4, 2015

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 easy sudo solution, which is dangerous.

Read more comments on GitHub >

github_iconTop 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 >

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