我正在尝试运行jupyter笔记本,并得到以下错误。 我正在使用Win7和Python3.7。
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.
我已经遵循了错误中提到的步骤,但仍然没有工作。
跑步
pip3 uninstall numpy
直到您收到一条声明
no files available with numpy to uninstall
的消息,然后您可以使用pip install numpy
这将解决问题。
当我试图使用Keras时,我得到了错误。可以通过运行
pip3 uninstall numpy
连续删除numpy
包来解决此问题。并通过打开python终端并导入numpy
包来检查卸载是否成功。删除文件夹numpy并重新安装numpy。为我工作。下面的代码
相关问题 更多 >
编程相关推荐