Python - Numpy Module Not found
我应用卡方检验,几分钟前运行成功后现在它显示错误。 该程序向我显示numpy中的错误。
我观察到的错误是:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Traceback (most recent call last): File"G:\Setups\Python\chi-1.py", line 4, in <module> from numpy._distributor_init import NUMPY_MKL File"G:\Setups\Python\lib\site-packages umpy\__init__.py", line 142, in <module> from . import add_newdocs File"G:\Setups\Python\lib\site-packages umpy\add_newdocs.py", line 13, in <module> from numpy.lib import add_newdoc File"G:\Setups\Python\lib\site-packages umpy\lib\__init__.py", line 8, in <module> from .type_check import * File"G:\Setups\Python\lib\site-packages umpy\lib\type_check.py", line 11, in <module> import numpy.core.numeric as _nx File"G:\Setups\Python\lib\site-packages umpy\core umeric.py", line 30, in <module> from ._internal import TooHardError ModuleNotFoundError: No module named 'numpy.core._internal' |
我执行的代码:
1 | import numpy |
conda install -c conda-forge numpy
尝试从这里下载
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
在实现与经验分布相关的一些事情时,我遇到了类似的问题。
请记住,您必须下载方向盘并使用