Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
naming
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

Django 4.1.5 on M1 Ventura 13.3.1 (22E261) failing to detect gdalGDAL installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of gdal iGDAL sis not compatible with djangoDjango. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib

Django 4.1.5 on M1 Ventura 13.3.1 (22E261) failing to detect gdal installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of gdal is not compatible with django. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib

Django 4.1.5 on M1 Ventura 13.3.1 (22E261) failing to detect GDAL installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of GDAL is not compatible with Django. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib

added 30 characters in body
Source Link

Django 4.1.5 on M1 Ventura 13.3.1 (22E261) failing to detect gdal installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of gdal is not compatible with django. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib

Django 4.1.5 failing to detect gdal installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of gdal is not compatible with django. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib

Django 4.1.5 on M1 Ventura 13.3.1 (22E261) failing to detect gdal installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of gdal is not compatible with django. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib

Source Link

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library via Homebrew

Django 4.1.5 failing to detect gdal installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what could cause this. According to the django docs, this newer version of gdal is not compatible with django. Would that cause it to fail to be detected?

Error Message

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

Environment Settings:

interpreter python 3.11 in a pipenv:

/Users/<username>/Documents/GitHub/optiagbe/venv/bin/python

gdal 3.6.4 installed via homebrew at:

/Users/<username>/homebrew/Cellar/gdal/3.6.4/lib/libgdal.32.3.6.4.dylib

gdal virtual pointer located at

/Users/<username>/homebrew/lib/libgdal.dylib appears to properly point to the above installation

Django Project Configuration:

settings.py

GDAL_LIBRARY_PATH = '/Users/<username>/homebrew/lib/libgdal.dylib'

GEOS_LIBRARY_PATH = '/Users/<username>/homebrew/Cellar/geos/3.11.1/lib/libgeos_c.dylib