问题

今天再GitHub上下载一个去重马赛克的源码,然后测试,安装好相关模块之后,解决运行报错:
地址:https://github.com/deeppomf/DeepCreamPy/releases/tag/v1.3.0-beta

其中后面的错误就是由于numpy.core.multiarray failed to import这个错误引起的然后开始寻找解决方法,谷歌搜索,看看人家解决办法。

Using TensorFlow backend.
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
ImportError: numpy.core.multiarray failed to import

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
2019-08-02 10:42:07.615740: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr 

在这里插入图片描述

解决方法:

搜索到的问题链接,里面有个解决方法:

pip install numpy --upgrade