ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

ModuleNotFoundError: No module named ‘numpy.core._multiarray_umath’

import tensorflow as tf
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 “

截图

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

解决办法

pip install -U numpy