vs代码导入错误原始错误为:导入_multiarray_umath时dll加载失败:找不到指定的模块

sz81bmfz  于 2021-09-08  发布在  Java
关注(0)|答案(0)|浏览(443)

请有人帮帮我!当我试图从python anaconda中导入numpy或任何我试图解决的问题时,我遇到了这样一个问题,但idk为什么它对我无效c:\users\user\anaconda3\lib\site packages\numpy\u init\upy.143:userwarning:mkl service package导入失败,因此,在gnu openmp已经由python进程加载的情况下,英特尔(r)mkl初始化无法确保其正确的开箱即用操作。请安装mkl服务包,请参阅http://github.com/intelpython/mkl-service 从…起导入分发服务器\u init回溯(最后一次调用):在raise importerror(importerror:无法导入所需依赖项: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.8 from "C:\Users\Hafiz\anaconda3\python.exe"
  * The NumPy version is: "1.20.1"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

PS D:\Project for Learn> conda activate base
conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was 
included, verify that the path is correct and try again.
At line:1 char:1
+ conda activate base
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (conda:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\Project for Learn> & C:/Users/User/anaconda3/python.exe "d:/Project for Learn/P.py"
C:\Users\User\anaconda3\lib\site-packages\numpy\__init__.py:143: 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 http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File "d:/Project for Learn/P.py", line 1, in <module>
    import pandas as pd
  File "C:\Users\User\anaconda3\lib\site-packages\pandas\__init__.py", line 16, in <module>
    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.8 from "C:\Users\User\anaconda3\python.exe"
  * The NumPy version is: "1.20.1"

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: The specified module could not be found.

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题