掘金社区

运行import numpy as np发生异常ImportErrorPinned highlighted

吃鱼的猫 发表在问题反馈 2020-12-13 17:01:10

问题反馈
344
1
0

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.8 from "D:\Anaconda\Anaconda\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
它说可能是你的numpy安装方式有问题,我重装了numpy也没解决这个问题

评论: 1
  • 应该是numpy的版本问题,卸载重装一下numpy和pandas

    2020-12-14 09:55:16

Looks like your connection to 掘金量化社区 - 量化交易者的交流社区 was lost, please wait while we try to reconnect.