【Bug】Something is wrong with the numpy installation. While importing we detected an older version

在這裏插入圖片描述

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.

出現這個報錯說明在安裝更新numpy或者幹什麼的時候,舊的numpy沒有卸載掉,兩版numpy導致出現衝突。
解決辦法:
先卸載numpy: pip uninstall numpy,一定要卸載乾淨
在這裏插入圖片描述
在這裏插入圖片描述

提示信息顯示此時完全已經沒有numpy
再下載numpy:pip install numpy
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章