鱼C论坛

 找回密码
 立即注册
查看: 2157|回复: 1

关于python运行报错关于anaconda

[复制链接]
发表于 2023-1-14 21:28:30 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
D:\Anaconda\lib\site-packages\numpy\__init__.py:148: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see 一个链接,帖子愿因放不了。
  from . import _distributor_init
Traceback (most recent call last):
  File "D:\Anaconda\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "D:\Anaconda\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "D:\Anaconda\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: &#65533;&#1202;&#65533;&#65533;&#65533;&#1464;&#65533;&#65533;&#65533;&#65533;&#291;&#65533;顣

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\Users\NRD\Desktop\&#65533;&#65533;&#1211;&#65533;&#65533;.py", line 4, in <module>
    import numpy as np
  File "D:\Anaconda\lib\site-packages\numpy\__init__.py", line 150, in <module>
    from . import core
  File "D:\Anaconda\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
    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:



Please note and check the following:

  * The Python version is: Python3.9 from "D:\Anaconda\python.exe"
  * The NumPy version is: "1.21.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: &#65533;&#1202;&#65533;&#65533;&#65533;&#1464;&#65533;&#65533;&#65533;&#65533;&#291;&#65533;顣


[Done] exited with code=1 in 0.266 seconds


我是超级小白,今天刚刚安装anaconda  用VScode运行代码都报这个cuo'w
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2023-1-14 21:32:13 | 显示全部楼层
Please note and check the following:

  * The Python version is: Python3.9 from "D:\Anaconda\python.exe"
  * The NumPy version is: "1.21.5"



1. 下载适用你python3.9的numpy版本
2. 或    如没有则降级你的python版本
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-9-24 23:26

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表