-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' #12958
Copy link
Copy link
Closed
Description
I am running the latest Mac OSX. I just did the following three things, some combination of which broke my numpy install.
- Updated to python 3.7 using pip3.
- Updated numpy using pip3.
- Cleaned up my .bash_profile file.
When I type "import numpy" into the python interpreter, or run a script that imports numpy, I get the following error message.
>>> import numpy
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/numpy/core/__init__.py", line 16, in <module>
from . import multiarray
File "/usr/local/lib/python3.7/site-packages/numpy/core/multiarray.py", line 12, in <module>
from . import overrides
File "/usr/local/lib/python3.7/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 "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/usr/local/lib/python3.7/site-packages/numpy/core/__init__.py", line 47, in <module>
raise ImportError(msg)
ImportError:
My .bash_profile profile is below.
export PATH="/usr/local/bin"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH"
export PATH=/usr/local/share/python3:$PATH
export PYTHONPATH="/usr/local/lib/python3.7/site-packages"
export PYTHONPATH=/usr/local/lib/python3:$PYTHONPATH
Is there a simple way to get numpy working again?
In this issue it was mentioned that forcing a reinstall of an earlier version might work:
#12825. However, this did not help matters. I have uninstalled and reinstalled the current version several times now, to no avail.
Thanks for your time!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels