No module named 'numpy.core._multiarray_umath'
See original GitHub issueI just installed TensorFlow, Keras in anaconda3.
C:\conda create --name neuralnets python=3.7
C:\activate neuralnets
(neuralnets) C:\conda install theano
(neuralnets) C:\conda install mingw libpython
(neuralnets) C:\pip install tensorflow
(neuralnets) C:\pip install keras
Reproducing code example:
Executed this command:
(neuralnets) C:\python -c "from keras import backend; print(backend._BACKEND)"
Got the following error:
Traceback (most recent call last):
File "C:\Users\Z0035HPP\AppData\Roaming\Python\Python37\site-packages\numpy\core\__init__.py", line 16, in <module>
from . import multiarray
File "C:\Users\Z0035HPP\AppData\Roaming\Python\Python37\site-packages\numpy\core\multiarray.py", line 12, in <module>
from . import overrides
File "C:\Users\Z0035HPP\AppData\Roaming\Python\Python37\site-packages\numpy\core\overrides.py", line 6, in <module>
from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Z0035HPP\AppData\Local\Continuum\anaconda3\envs\neuralnets\lib\site-packages\keras\__init__.py", line 3, in <module>
from . import utils
File "C:\Users\Z0035HPP\AppData\Local\Continuum\anaconda3\envs\neuralnets\lib\site-packages\keras\utils\__init__.py", line 2, in <module>
from . import np_utils
File "C:\Users\Z0035HPP\AppData\Local\Continuum\anaconda3\envs\neuralnets\lib\site-packages\keras\utils\np_utils.py", line 6, in <module>
import numpy as np
File "C:\Users\Z0035HPP\AppData\Roaming\Python\Python37\site-packages\numpy\__init__.py", line 142, in <module>
from . import core
File "C:\Users\Z0035HPP\AppData\Roaming\Python\Python37\site-packages\numpy\core\__init__.py", line 47, in <module>
raise ImportError(msg)
ImportError:
import numpy as np
<< your code here >>
Error message:
Numpy/Python version information:
Can someone please help? I am new to using keras and tensorflow. I am using it for a class I am taking this semester.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:23 (6 by maintainers)
Top Results From Across the Web
No module named 'numpy.core._multiarray_umath' - Stack ...
When importing tensorflow, I get the following error: No module named 'numpy.core._multiarray_umath' · python-3.x · numpy · tensorflow · anaconda.
Read more >python3.10 with numpy - ModuleNotFoundError: No module ...
_multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, ...
Read more >No module named 'numpy.core._multiarray_umath' - Reddit
I want to add python numpy package to lambda. I have downloaded numpy package put inside a folder named as python and zip...
Read more >Unable to import numpy 1.19.1 in AWS Lambda No ... - YouTube
Pandas : Unable to import numpy 1.19.1 in AWS Lambda No module named ' numpy.core._multiarray_umath ' [ Beautify Your Computer ...
Read more >No module named 'numpy.core._multiarray_umath - (View topic)
No module named 'numpy.core._multiarray_umath. I specify that I can use the numpy module in the Thonny IDE to run the python macro.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
pip install tensorflow
picked up numpy from PyPI. Trythat will probably fix things
hi! I succeeded in installing tensorflow in python3.7
pip uninstall numpy pip install numpy pip uninstall tensorflow pip install tensorflow