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"
}
div>
Read More:
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Tensorflow import error: DLL load failed: the specified module could not be found
- Python import GDAL failed: DLL load failed. The specified module cannot be found.
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- from ._ NNLS import NNLS importerror: DLL load failed: the specified module was not found.
- OpenCV3.1 + Python2.7 error “DLL load failed: The specified module could not be found”
- ImportError: DLL load failed: The specified module could not be found
- After tensorflow installation, an error occurred while importing: importerror: DLL load failed: the specified module could not be found
- ImportError: DLL load failed while importing xxx: The specified program could not be found.
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Importerror using tensorflow: DLL load failed: the specified program cannot be found
- DLL load failed: The specified procedure could not be found
- Sdl2 – importerror: DLL load failed: the specified module was not found.
- Ctypes loading DLL error oserror: [winerror 126] the specified module could not be found
- Error loading Python DLL ‘python36.dll’. LoadLibrary: The specified module could not be found.
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- The vscode installation plug-in liveserver specified browser reported an error and could not be found
- Python error: importerror: DLL load failed: unable to find the specified module solution