Python installation module NumPy A workaround for a situation that cannot be uninstalled
Python needs to update the NumPy module when installing Seaborn, but the update fails with the following error output:
Cannot uninstall ‘numpy‘. It is a distutils installed project and thus we ca
Check, some netizens said can shut down the SIP Mac, but because the operating system version is low, did not work.
The solution that is used in the end is relatively simple.
Perform
site.getsitepackages()
Output
[‘/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python‘, ‘/Library/Python/2.7/site-packages‘]
Delete the NumPy folders involved and execute them again.
pip install numpy
Installation Successful
Installing collected packages: numpy Successfully installed numpy-1.15.1
原文:http://www.vmfor.com/p/101820499405.html
Python installation NumPy encountered a workaround that cannot be uninstalled