导入numpy拓展失败

平时用的spyder,打算换visual studio code的,启动调试的时候出现发生异常:

发生异常: 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 "c:\Users\HP\anaconda3\pythonw.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: 找不到指定的模块。
ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块。

请问这种情况该怎么解决呀

这种应该是你下载的模块放在另一个文件中,你以前是不是用的anacanda,如果你安装的路径和python路径不一致,就会出现这种情况,你去找一下你下载模块在的位置,然后找到你下载的模块,把它移动到python 模块文件夹中就可以了