Recently, after installing some libraries such as pyqt and labelme in CONDA environment, I planned to run a geotif to JPG program, but an error was reported at the beginning of running, showing that there was a problem with the sentence Import importlib. Machine
in imp.py, and the last line
return_ Load (SPEC) importerror: DLL load failed: the specified module could not be found Code> although import does not prompt syntax errors, it will report errors when running. It is speculated that there is a problem with the import of GDAL library. Because the GDAL installed before is available, it can not be used now. It took a long time to make trouble. Finally, it is directly reinstalled to solve the problem, which has nothing to do with the version
CONDA enters the environment,
PIP uninstall GDAL
then find the previous GDAL installation package. My GDAL is gdal-3.2.1-cp37-cp37m-win_ Amd64.whl, install this installation package directly
PIP install gdal-3.2.1-cp37-cp37m-win_ Amd64.whl
after successful installation, enter Python for import, and the problem is solved
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
- vscode import numpy error:DLL load failed: The specific module could not be found
- OpenCV3.1 + Python2.7 error “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: The specified module could not be found
- from ._ NNLS import NNLS importerror: DLL load failed: the specified module was not found.
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- Error loading Python DLL ‘python36.dll’. LoadLibrary: The specified module could not be found.
- DLL load failed: The specified procedure could not be found
- Python error: importerror: DLL load failed: unable to find the specified module solution
- Importerror using tensorflow: DLL load failed: the specified program cannot be found
- ImportError: DLL load failed while importing xxx: The specified program could not be found.
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- Sdl2 – importerror: DLL load failed: the specified module was not found.
- Windows10解决ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed
- Visual domain analysis of Python GDAL
- sqoop-import ERROR tool.ImportTool: Import failed: No primary key could be found for table user_info