700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > jupyter notebook导入numpy 失败 报错:Original error was: DLL load failed while importing _multiarray_umath:

jupyter notebook导入numpy 失败 报错:Original error was: DLL load failed while importing _multiarray_umath:

时间:2023-01-31 00:15:29

相关推荐

jupyter notebook导入numpy 失败 报错:Original error was: DLL load failed while importing _multiarray_umath:

jupyter notebook导入numpy 失败 报错:Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块。

import numpy as np 报错

ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for

many reasons, often due to issues with your setup or how NumPy was

installed.

We have compiled some common reasons and troubleshooting tips at:

/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

The Python version is: Python3.8 from “D:\program\Anaconda3\python.exe”The NumPy version is: “1.20.1”

and make sure that they are the versions you expect.

Please carefully study the documentation linked above for further help.

Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块。

尝试解决

在Anaconda Prompt 中卸载、重新安装

1.卸载

使用管理员打开Anaconda Prompt

pip uninstall numpy

2.重新安装。

pip install numpy

初次安装的numpy版本为1.20.1

重新安装后版本为1.21.0

重启jupyter notebook

问题解决。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。