2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Numpyでimportエラーを解決した(備忘録的なやつ)

Posted at

環境
Windows10 May2019update
anaconda 4.75
python 3.6.8

Numpyを使用しようとしてimportをかけたときに以下のエラーに悩まされた

Something is wrong with the numpy installation. While importing we detected an older version of numpy in [numpyのpath]. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

翻訳すると、Numpyのバージョン違いのものが複数あるので削除して整理することと書いてあります
そのため、conda uninstall numpyをしてimport numpyをしたのですが同じエラー....

よく見るとNumpyのpathがあるではないかと気づき、そこにアクセスするとNumpyが3つあった(恐怖)
そこですべてを削除して、conda install -c conda-forge numpy を導入すると....
解決した!!!!

そしてOpenCVも無事インストールできた....

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?