vscode import numpy error:DLL load failed: The specific module could not be found

An error description

    anaconda prompt, import numpy in normal vscode, import numpy error: DLL load failed

Error reason
Vscode failed to properly initialize the environment variable
The solution
Open the vscodesettings.json file

(type)               CTRL + SHIFT + P
(search for:)        open settings
(click:)             Preferences: Open Settings (JSON)

Add three lines

    ... # any other settings you have already added (remove this line)

    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
    "terminal.integrated.shellArgs.windows": ["/K", "x:\\xxx\\Anaconda3\\Scripts\\activate.bat x:\\xxx\\Anaconda3"],
    "python.condaPath": "x:\\xxx\\Anaconda3\\Scripts\\conda.exe"

Read More: