GDAL on Python 3.6.5 (64-bit)

烂漫一生 提交于 2019-11-29 16:22:12

The prebuild GDAL version from conda-forge works great on windows 64 bit python 3.6.5

You can install Anaconda (or Miniconda)

After installing Anaconda, I usually use the Anaconda prompt instead of the regular windows command prompt.

(Optional) If you would like to isolate this in a specific environment

I would recomend using environments with anaconda so create some environment like this

conda create --name gdal_env python=3.6.5

activate gdal_env

Environments are not required, so you can skip this step and continue to installing gdal.

Install gdal

conda install -c conda-forge gdal

I have found conda-forge to be the (by far) easiest way to install GDAL on windows. If for some reason you are required to use another python distribution, i have found the prebuild binaries from here to work fine too https://www.lfd.uci.edu/~gohlke/pythonlibs/ if you follow this guide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!