Installing modules using pip

If you have multiple versions of Python installed on your machine and you're not using a virtual environment with the virtualenv module, ensure that the pip version being called with the command line is the Python 3 version using the pip -V option:

 C:\Python36\Scripts>pip -V pip 9.0.1 from c:\python36\lib\site-packages (python 3.6)

Once it is clear that the correct pip is being called from the command line, the modules can be installed. Let's walk through the required pip commands and some examples of the expected output that each command will generate.

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.