【Problem】ImportError: Something is wrong with the numpy installation. While importing we detected an

今天更新了一下tensorflow,然后运行程序的时候报错了:

ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['D:\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

说同时检测到旧版本了,解决方法和它说的一样,首先要activate tensorflow,然后在tf环境中果然发现了两个版本的np,然后一直uninstall ( pip uninstall ... ) 到none,再install就解决了  唯一要注意的就是激活tf再删

你可能感兴趣的:(【Problem】ImportError: Something is wrong with the numpy installation. While importing we detected an)