So far this process has been quite painful. Installing the GDAL library
requires installing it via OSgeo4W, setting up the paths and installing
some additional libraries. However, small differences in versions or
multiple versions installed all cause troubles (currently I'm still facing
a "OSError: [WinError 127] The specified procedure could not be found"
error; OSgeo4W only supports GDAL 3.0.4 while there are no more wheels for
this GDAL library and newer Python versions).
In the end, I'm not even using any advanced functionality, so I was
wondering if those necessary GDAL libraries could only be loaded when
needed instead of when Point is imported. I'm happy to assist in any work
that could make the use of these GIS libraries more convenient on Windows.
--
Ticket URL: <https://code.djangoproject.com/ticket/32071>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> I'm currently trying to include a leaflet map in Django. For this I'm
> using the Point class included in Django that requires the GDAL library
> in turn.
>
> So far this process has been quite painful. Installing the GDAL library
> requires installing it via OSgeo4W, setting up the paths and installing
> some additional libraries. However, small differences in versions or
> multiple versions installed all cause troubles (currently I'm still
> facing a "OSError: [WinError 127] The specified procedure could not be
> found" error; OSgeo4W only supports GDAL 3.0.4 while there are no more
> wheels for this GDAL library and newer Python versions).
>
> In the end, I'm not even using any advanced functionality, so I was
> wondering if those necessary GDAL libraries could only be loaded when
> needed instead of when Point is imported. I'm happy to assist in any work
> that could make the use of these GIS libraries more convenient on
> Windows.
New description:
I'm currently trying to include a leaflet map in Django. For this I'm
using the Point class included in Django that requires the GDAL library in
turn.
So far this process (documented
[here](https://docs.djangoproject.com/en/3.1/ref/contrib/gis/install/#windows))
has been quite painful. Installing the GDAL library requires installing it
via OSgeo4W, setting up the paths and installing some additional
libraries. However, small differences in versions or multiple versions
installed all cause troubles (currently I'm still facing a "OSError:
[WinError 127] The specified procedure could not be found" error; OSgeo4W
only supports GDAL 3.0.4 while there are no more wheels for this GDAL
library and newer Python versions).
In the end, I'm not even using any advanced functionality, so I was
wondering if those necessary GDAL libraries could only be loaded when
needed instead of when Point is imported. I'm happy to assist in any work
that could make the use of these GIS libraries more convenient on Windows.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32071#comment:1>