m0_58425322 2022-05-13 13:06
浏览 2225
已结题

DLL load failed while importing _multiarray_umath: 找不到指定的程序。

问题遇到的现象和发生背景

要运行一个别人写好的程序包,我也没有改任何东西,然后就出现这个报错

问题相关代码,请勿粘贴截图
运行结果及报错内容

Traceback (most recent call last):
File "E:\Python3.9\lib\site-packages\numpy\core_init_.py", line 22, in
from . import multiarray
File "E:\Python3.9\lib\site-packages\numpy\core\multiarray.py", line 12, in
from . import overrides
File "E:\Python3.9\lib\site-packages\numpy\core\overrides.py", line 7, in
from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的程序。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "F:\biyelunwen\pydm3\fit.py", line 12, in
import numpy as np
File "E:\Python3.9\lib\site-packages\numpy_init.py", line 140, in
from . import core
File "E:\Python3.9\lib\site-packages\numpy\core_init
.py", line 48, 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 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:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.9 from "E:\Python3.9\pythonw.exe"
  • The NumPy version is: "1.19.3"

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: 找不到指定的程序。

我的解答思路和尝试过的方法

看网上说的版本不兼容,之前我numpy用的1.22.3,然后改成了1.19.3,还是一样的报错

我想要达到的结果

咋样才能让他成功运行啊

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 5月21日
    • 创建了问题 5月13日

    悬赏问题

    • ¥15 如何让企业微信机器人实现消息汇总整合
    • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
    • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
    • ¥15 TLE9879QXA40 电机驱动
    • ¥20 对于工程问题的非线性数学模型进行线性化
    • ¥15 Mirare PLUS 进行密钥认证?(详解)
    • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
    • ¥20 想用ollama做一个自己的AI数据库
    • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
    • ¥15 请问怎么才能复现这样的图呀