sacscs 2022-10-22 20:00 采纳率: 100%
浏览 113
已结题

想问一下我这个是少了哪个库,还是numpy没有安装好

E:\pycharm文件\2\venv\Scripts\python.exe E:/pycharm文件/2/text.py
Traceback (most recent call last):
File "E:\pycharm文件\2\text.py", line 1, in
import pandas as pd
File "E:\pycharm文件\2\venv\lib\site-packages\pandas_init_.py", line 16, in
raise ImportError(
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 "E:\pycharm文件\2\venv\Scripts\python.exe"
  • The NumPy version is: "1.23.4"

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

  • 写回答

2条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2022-10-22 20:59
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 11月7日
  • 已采纳回答 10月30日
  • 创建了问题 10月22日