ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' (While installing TensorFlow)
I upgraded numpy
to 1.16.1
version and tried again the above command:
python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"
and got this new result:
2019-02-16 13:12:40.611105: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
tf.Tensor(-1714.2305, shape=(), dtype=float32)
Upgrade the numpy to solve the error
pip install numpy --upgrade