Conda install 速度慢--解决方法-DLL load failed while importing _multiarray_umath: 找不到指定的模块。

网上一堆什么改国内镜像的。挂vpn啥的疯狂报错,镜像源也是没啥用,开热点,用中国移动流量-贼快= 。=

ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "D:\python\envs\raft\lib\site-packages\numpy_init.py", line 140, in
from . import core
File "D:\python\envs\raft\lib\site-packages\numpy\core_init
.py", line 48, in
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:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.8 from "D:\python\envs\raft\python.exe"
  • The NumPy version is: "1.19.2"

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

这个就是环境变量的问题

import os
print("PYTHONPATH:", os.environ.get('PYTHONPATH'))
print("PATH:", os.environ.get('PATH'))

你可能感兴趣的:(Conda install 速度慢--解决方法-DLL load failed while importing _multiarray_umath: 找不到指定的模块。)