哦哦哦哦哦哦哦ysy 2023-05-19 20:32 采纳率: 0%
浏览 25

python3.9安装nunpy不匹配

ImportError: Unable to import required dependencies:
numpy:

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 "C:\Users\Administrator\PycharmProjects\pythonProject\venv\Scripts\python.exe"
  • The NumPy version is: "1.22.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: 找不到指定的程序。

img

  • 写回答

1条回答 默认 最新

  • Richard.sysout 2023-05-19 20:39
    关注

    卸载了重装试下撒,让Python自己去匹配合适的版本,不要指定版本安装
    pip uninstall numpy
    然后
    pip install numpy

    评论

报告相同问题?

问题事件

  • 创建了问题 5月19日