Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块
发布日期:2021-06-29 01:14:17 浏览次数:2 分类:技术文章

本文共 1140 字,大约阅读时间需要 3 分钟。

Python运行异常

问题描述

During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "
", line 1, in
File "D:\Anaconda3\lib\site-packages\numpy\__init__.py", line 142, in
from . import core File "D:\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 50, in
raise ImportError(msg)ImportError:IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!Importing the numpy C-extensions failed. This error can happen formany reasons, often due to issues with your setup or how NumPy wasinstalled.We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.htmlPlease note and check the following: * The Python version is: Python3.8 from "D:\Anaconda3\python.exe" * The NumPy version is: "1.18.5"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: 找不到指定的模块。

解决方案

pip install --upgrade numpy

之后,再次执行

import numpy

 

转载地址:https://blog.csdn.net/yql_617540298/article/details/108456363 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Python实现简单的人脸打卡系统
下一篇:pip is configured with locations that require TLS/SSL

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2024年04月01日 02时07分09秒