9👍
I had the same issue
i installed the osgeo
and then navigated to the missing libraries
> # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR =
> os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
> TEMPLATE_DIR=os.path.join(BASE_DIR,'templates')
and these were the missing libraries for me:
GDAL_LIBRARY_PATH = r'C:\OSGeo4W64\bin\gdal204.dll'
GEOS_LIBRARY_PATH=r'C:\OSGeo4W64\bin\geos_c.dll'
5👍
Run this command
sudo apt-get install binutils libproj-dev gdal-bin
This is described in this documentation
1👍
I had the same issue. I ran pip install gdal
, which showed error messages about a libffi library missing on my system. After installing the correct library (libffi6 on AUR
), I ran pip install gdal
again and the issue was resolved.
- Is it possible to stop Django from creating .pyc files, whilst in development?
- Fail to push to Heroku: /app/.heroku/python/bin/pip:No such file or directory
- How to change form layouts in Django 1.8
- Python Django Asynchronous Request handling
0👍
I found that my libgdal library was causing me issues and giving me this error.
I’m working in windows under a conda environment running Django 1.11 and GDAL 2.0. Changing GDAL and django versions didnt seem to fix anything. However, setting the libgdal version to 1.11.2 seemed to clear the error up for me.