in my GeoDjango installation process (https://docs.djangoproject.com/fr/5.0/ref/contrib/gis/install/#windows), GDAL is an important component. I followed the recommendations from the Python website by using OSGeo4W. When I run gdalinfo –version (as you can see in the image), Django recommends installing Python 3.12, which I have already done! I have also installed PostgreSQL and PostGIS. However, when I install OSGeo4W, it directly installs GDAL 0.9. I’m not sure why it’s asking for GDAL 0.8 when I run gdalinfo –version.
I also tried another method by following this video https://youtu.be/ZpD-pkmquTo?si=hMsSalfOoGOEg8Eq. When I run pipwin install gdal, I get this error.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:UsersAdministratorDesktopARRDELBEEProjetarrdelultimeBackend_ArrdelBee_Territorial_DigitalvenvScriptspipwin.exe__main__.py", line 4, in <module>
File "C:UsersAdministratorDesktopARRDELBEEProjetarrdelultimeBackend_ArrdelBee_Territorial_DigitalvenvLibsite-packagespipwincommand.py", line 28, in <module>
from . import pipwin, __version__
File "C:UsersAdministratorDesktopARRDELBEEProjetarrdelultimeBackend_ArrdelBee_Territorial_DigitalvenvLibsite-packagesjs2pybase.py", line 1377, in __init__
cand = fix_js_args(func)
^^^^^^^^^^^^^^^^^
File "C:UsersAdministratorDesktopARRDELBEEProjetarrdelultimeBackend_ArrdelBee_Territorial_DigitalvenvLibsite-packagesjs2pyutilsinjector.py", line 27, in fix_js_args
code = append_arguments(six.get_function_code(func), ('this', 'arguments'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:UsersAdministratorDesktopARRDELBEEProjetarrdelultimeBackend_ArrdelBee_Territorial_DigitalvenvLibsite-packagesjs2pyutilsinjector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3 ```
Thank you for helping me and not ignoring this.