ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try `git clean -xdf` (removes all files not under version control). Otherwise reinstall numpy. Original error was: DLL load failed:
anaconda創(chuàng)建的python=3.6環(huán)境下,使用conda list 發(fā)現(xiàn)2個numpy,一個是<pip>安裝,另一個清華鏡像安裝,pip uninstall numpy? ? conda remove numpy先刪除再安裝conda install numpy,然而并不好用
原因:版本問題
解決方案:
全部刪除之后,
conda upgrade numpy
解決!
如果是pip安裝的,直接pip install --upgrade numpy