Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. #1141

Closed
RyuuzakiJulio opened this issue Jan 18, 2019 · 4 comments
Labels
OS Mac release engineering how bCNC gets from developers to users (and back)

Comments

@RyuuzakiJulio
Copy link

Trying to install on a Mac. I do have this library already installed "numpy" but it wants to uninstall it? I don't get it. here is the log:

python -m pip install --upgrade bCNC                                                                                     [2:02:47]
Collecting bCNC
  Downloading https://files.pythonhosted.org/packages/51/64/f58378627ae712ddc0086293b4b832fe221de64fa105de4c476a4b0b0805/bCNC-0.9.14.52.tar.gz (1.2MB)
    100% |████████████████████████████████| 1.2MB 11.6MB/s 
Requirement already satisfied, skipping upgrade: pyserial<=3.0.1 in /Library/Python/2.7/site-packages (from bCNC) (3.0.1)
Collecting numpy>=1.12 (from bCNC)
  Downloading https://files.pythonhosted.org/packages/e4/97/167eb80dadcf2905b58d66ada6c128d3ec5e8595beb02457b881e7399be3/numpy-1.16.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (13.9MB)
    100% |████████████████████████████████| 13.9MB 2.4MB/s 
Collecting Pillow>=4.0 (from bCNC)
  Downloading https://files.pythonhosted.org/packages/7e/bb/d502ae951099ce9a5a20dec21e577f304b7706321f83205c5215ebc028cd/Pillow-5.4.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.7MB)
    100% |████████████████████████████████| 3.7MB 6.3MB/s 
Installing collected packages: numpy, Pillow, bCNC
  Found existing installation: numpy 1.8.0rc1
Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

@Harvie
Copy link
Collaborator

Harvie commented Jan 18, 2019

what if you try this? pip install --ignore-installed bCNC

@Harvie Harvie added release engineering how bCNC gets from developers to users (and back) OS Mac labels Jan 18, 2019
@RyuuzakiJulio
Copy link
Author

Thank you for your reply. It ended up working with something close to that.

sudo pip2 install --upgrade --ignore-installed --install-option '--install-data=/usr/local' numpy

and then just running the installation again.

@rohitsg
Copy link

rohitsg commented Nov 1, 2019

worked for me - sudo pip install --upgrade --ignore-installed --install-option '--install-data=/usr/local' numpy

@Harvie
Copy link
Collaborator

Harvie commented Nov 1, 2019

If i understood it correctly. This is basicaly caused by the fact, that you or your system have previously installed numpy by some other means than using pip. So i guess i will close the issue. If there is something i can do about this on the side of bCNC, please don't hesitate to write the comment and i will reopen this, so we can fix it.

@Harvie Harvie closed this as completed Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS Mac release engineering how bCNC gets from developers to users (and back)
Projects
None yet
Development

No branches or pull requests

3 participants