Numpy已安装,但仍然出现错误
我正在尝试运行jupyter笔记本并出现以下错误. 我正在将Win 7和Anaconda python 3.7一起使用.
I am trying to run jupyter notebook and getting following error. I am using Win 7 with anaconda python 3.7.
ImportError
:numpy安装出现问题.导入时,我们在['c:\ users \ paperspace \ anaconda3 \ envs \ tensorflow10 \ lib \ site-packages \ numpy']中检测到了较旧的numpy版本.解决此问题的一种方法是反复卸载numpy,直到找不到为止,然后重新安装该版本.
ImportError
: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['c:\users\paperspace\anaconda3\envs\tensorflow10\lib\site-packages\numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.
我已按照错误中提到的步骤进行操作,但仍然无法正常工作.
I have followed the steps mentioned in the error but still not working.
运行
pip3 uninstall numpy
直到您收到一条说明no files available with numpy to uninstall
的消息,然后您可以使用
until you receive a message stating no files available with numpy to uninstall
and then you can freshly install numpy using
pip install numpy
这将解决此问题.