I took the project with Django, Django REST framework and Leaflet to save the return path in the database. Installing Django in virtualenvand trying to port it:
File "D: \ SHK \ ElektroClean \ venv \ lib \ site-packages \ django \ contrib \ gis \ db \ backends \ postgis \ operations.py", line 7, from django.contrib.gis.gdal import GDALRaster ImportError: unable to import name 'GDALRaster'
The directory D:\SHK\ElektroClean\py27\Lib\site-packages\django\contrib\gis\gdalcontains a folder with the name raster. Does this folder send a patch to GDALRaster?
Any suggestions on how to fix this?
source
share