Quickcal installtion error4/20/2023 ![]() ![]() GDAL_DATA=C:\Program Files\GDAL\gdal-dataĪt this moment GDAL does not know where to find Python. The gdal_data should look like this C:\Program Files\GDAL>set gdal_data ![]() GDAL installer creates a shortcut into Start menu. Use the Python37 location from point 1) and check that you have osgeo package in C:\Program Files\Python37\Lib\site-packages\ after installation. Install GDAL Python bindings with the MSI installer.I don't like "Program Files" much but in this test I used C:\Program Files\Python37. I installed the latest GDAL versions from here: While executing from osgeo import gdal in python, the same error message appears. My system variables are already right configured: ![]() Unfortunately, none of these solutions work for me. ImportError: DLL load failed with error code when I try to import GDAL from the Python console gdal ImportError in python on Windows ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.ĭuring handling of the above exception, another exception occurred:įile "C:\Program Files\GDAL\gdal_calc.py", line 5, inįrom _calc import * # noqaįile "C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo_ init_.py", line 32, inįile "C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo_ init.py", line 31, in swig_import_helperįile "C:\OSGeo4W64\apps\Python37\lib\importlib_ init.py", line 127, in import_moduleĮ:\UniversitaetHD\WS 2020 - 2021\Seminar GIS\Gruppenarbeit\Dateien>PAUSE` Return _bootstrap._gcd_import(name, package, level)įile "", line 967, in _find_and_load_unlockedįile "", line 219, in _call_with_frames_removed If I try to execute gdal_calc.py, I get the following error message:įile "C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo_ init_.py", line 18, in swig_import_helperįile "C:\OSGeo4W64\apps\Python37\lib\importlib_ init_.py", line 127, in import_module I have the recent version of QGIs/GDAL installed. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |