日々精進

新しく学んだことを書き留めていきます

import insightfaceを実行すると「ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'」エラー

原因は pip install insightface を実行するとpip版のnumpyがインストールされるが、それではだめでconda版のnumpyを使わないといけないため。

以下を実行すると直った。

pip uninstall numpy
conda install numpy

参考:

github.com