我正在尝试在OS X 10.10.5上卸载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,我不使用虚拟环境.