I fixed the above error by adding "gdal204' to the list of lib_path strings and changing settings to settings_local (where I stored my GDAL_LIBRARY_PATH.
I am now getting this error: File "C:\Users\LGant\arches_clean\ENV\lib\site-packages\django\db\utils.py", line 134, in load_backend raise ImproperlyConfigured(error_msg) django.core.exceptions.ImproperlyConfigured: 'django.contrib.gis.db.backends.postgis' isn't an available database backend. Try using 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3' Error was: cannot import name _lazy_re_compile On Monday, November 25, 2019 at 5:52:19 PM UTC-8, Lindsey Gant wrote: > > Hi all, > > I am having trouble with GDAL for my Arches installation on Windows 10. I > am experiencing similar results to a previous issue > <https://groups.google.com/forum/#!searchin/archesproject/%22self._handle$20$3D$20_dlopen(self._name$2C$20mode)%22%7Csort:date/archesproject/HN26yv3K2d0/I50oCCWtAQAJ> > however, > I am not sure how to fix it. > > I am at the part of the developer installation > <https://arches.readthedocs.io/en/stable/creating-a-development-environment/#creating-a-development-environment> > > where I am creating a new package. I get this error on the command line: > > File > "C:\Users\LGant\arches_clean\ENV\lib\site-packages\django\contrib\gis\gdal\libgdal.py" > , line 49, in <module> > lgdal = CDLL(lib_path) > File "c:\python27\Lib\ctypes\__init__.py", line 362, in __init__ > self._handle = _dlopen(self._name, mode) > WindowsError: [Error 126] The specified module could not be found > > I confirmed that I downloaded and installed the 64 bit GDAL from this site > <https://trac.osgeo.org/osgeo4w/> and set my settings_local.py to include > the valid path: > > GDAL_LIBRARY_PATH = "c:/OSGeo4W64/bin/gdal204.dll" > > I am on branch 4.4.2 and am using 64-bit Python 2.7.13. I have reinstalled > GDAL multiple times but am unable to bypass this error. Any assistance > would be appreciated!! > > Thanks, > > Lindsey > > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/ba692942-bb3e-4c7f-ab59-d2beea4d2830%40googlegroups.com.