我正試圖卸載OS X 10.10.5
上的numpy
。無法在Mac上卸載Numpy
這是我到目前爲止已經試過:
與brew
卸載:
brew uninstall numpy
Error: No such keg: /usr/local/Cellar/numpy
與pip
卸載:
sudo pip uninstall numpy
Cannot uninstall requirement numpy, not installed
以下Python
庫目錄沒有Numpy
文件:
/usr/local/lib/python2.7/site-packages/
/Library/Python/2.7/site-packages/
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/
打印包路徑並沒有給實際路徑:
In [1]: import numpy; numpy.__path__
In [2]: numpy.__path__
Out[2]: ['numpy']
In [3]: numpy.__file__
Out[3]: 'numpy/__init__.pyc'
安裝的numpy的版本是1.8.0rc1
,我不使用的虛擬環境。
給我看幾個輸出: $ which python; $ echo $ PYTHONPATH; $ ls -l dir_where_you_ran_ipython – Hun