Python version of GDAL installation
Download the corresponding GDAL installation file according to the python version installed on your PC. The download address is as follows:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
Open the above address and download the .whl GDAL installation file: GDAL-xxx-cpxx-cpxxm-win_amd64.whl (64-bit computer), for example, what I downloaded is:
If you are engaged in GIS, it is recommended to install rasterio‑1.1.2‑cp37‑cp37m‑win_amd64.whl in the above page at the same time .
After the installation is successful, enter the following command in cmd to check whether the installation is successful:
python
gdal.__version__
Reference article
Python-based GDAL installation for windows , 17.4
0 Comments