Skip to Content
Mastering Geospatial Analysis with Python
book

Mastering Geospatial Analysis with Python

by Silas Toms, Paul Crickard, Eric van Rees
April 2018
Beginner to intermediate content levelBeginner to intermediate
440 pages
11h 36m
English
Packt Publishing
Content preview from Mastering Geospatial Analysis with Python

Installing GDAL using conda

Using conda to install GDAL gives you more flexibility in choosing a preferred Python version than Anaconda3. If you open up a terminal, you can use the conda search gdal command to print a list of available gdal versions and the corresponding Python version. If you want to know the dependencies for each package, type conda info gdal. Particular versions of GDAL depend on a specific package version, which can be a problem if you have these already installed, for example, NumPy. Then, you can create a virtual environment to install and run GDAL and their dependencies with the accompanying Python version, for example:

(C:\Users\<UserName> conda create -n myenv python=3.4(C:\Users\<UserName> activate myenv # for Windows ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Geospatial Analysis with Python

Learning Geospatial Analysis with Python

Joel Lawhead

Publisher Resources

ISBN: 9781788293334Supplemental Content