Solution:VSCode fails to import numpy with ImportError
Description:
I want to silplify my environment configuration for python. Considering that I tend to use different versions of python or python packages. I have known it 's convenient for users to create different virtual envs in anaconda.For instace, you can use?
conda create --name venv? ? ? ? ??
conda activate venv
conda env list? ? ? ? ? ? ? ? ?to? Create , Activate ,View the? virtual environments
At the same time,I perfer the IDE vscode and pycharm.
So I download all above softwares.
There is a detail that I refuse to add its path? to my User Path when I install? Anaconda in my windows desktop.Next I encountered the disturbing?problems.
When I run the python script imported the Numpy package ,it always displays the error:
?ImportError: DLL load failed: The specified module could not be found
Solution :
I searched the keywords through the browser and tried several tricks but failed? at last.
I paid out just like exploring around the earth twice.
OK,OK, finally I got the "eureka".
It really works? Adding the anaconda's path to User Path.

Don't forget to save your settings and restart your PC.
Good luck to you!