/python_gdal_automated_windows

This repository contains the script for automated download, installation and set-up of Python and GDAL.

Primary LanguageBatchfile

Automated installation of Python and GDAL

This repository contains the script for automated download, installation and set-up of Python and GDAL. The details are mentioned in a Medium post titled Python and GDAL Installation Automated for Windows 10.

Please take care of the following three things while using the script:

  1. Download the relevant version, i.e. 32-bit or 64-bit depending on your system.
  2. Run the .bat file with administrative privilege.
  3. Shorten the Python installation directory to "C:\Python37".

YouTube tutorial: link1 link2

If you are facing issues in using this, please check the debugger section. If your error is not listed, please crate a GitHub issue with conceise title and all the relevant details.

Fixing "ModuleNotFoundError: No module named '_gdal'"

On some machines, you may get this error after running the whole thing. Do not worry, you are almost there. Follow 2-3 extra steps mentioned here and your installation would successfully complete.