ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' #608
Unanswered
lammps-vasp
asked this question in
Q&A
Replies: 1 comment
-
I don't know what your Python version is, but it is obvious that you're mixing python 3.8 deepmd-kit with python 3.7 numpy. Please check your environment variables or consider reinstalling them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I haven't had this problem before, and suddenly I can't run
Traceback (most recent call last):
File "/public/home/users/zkchu/tools/python-3.7.3/lib/python3.7/site-packages/numpy/core/init.py", line 17, in
from . import multiarray
File "/public/home/users/zkchu/tools/python-3.7.3/lib/python3.7/site-packages/numpy/core/multiarray.py", line 14, in
from . import overrides
File "/public/home/users/zkchu/tools/python-3.7.3/lib/python3.7/site-packages/numpy/core/overrides.py", line 7, in
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 "/public/home/users/caep003/DP_ZHANG/deepmd-kit/bin/dp", line 7, in
from deepmd.main import main
File "/public/home/users/caep003/DP_ZHANG/deepmd-kit/lib/python3.8/site-packages/deepmd/init.py", line 1, in
from .env import set_mkl
File "/public/home/users/caep003/DP_ZHANG/deepmd-kit/lib/python3.8/site-packages/deepmd/env.py", line 4, in
import numpy as np
File "/public/home/users/zkchu/tools/python-3.7.3/lib/python3.7/site-packages/numpy/init.py", line 142, in
from . import core
File "/public/home/users/zkchu/tools/python-3.7.3/lib/python3.7/site-packages/numpy/core/init.py", line 47, in
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy c-extensions failed.
and that you have no directories in your PATH or PYTHONPATH that can
interfere with the Python and numpy version "1.17.2" you're trying to use.
https://github.com/numpy/numpy/issues. Please include details on:
how you installed Python
how you installed numpy
your operating system
whether or not you have multiple versions of Python installed
if you built from source, your compiler versions and ideally a build log
If you're working with a numpy git repository, try
git clean -xdf
(removes all files not under version control) and rebuild numpy.
Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.
Original error was: No module named 'numpy.core._multiarray_umath'
Beta Was this translation helpful? Give feedback.
All reactions