Installing the Python SDK

Use pip to install the Python SDK, allowing API access to the Mapbox services. This module is not required to use the MapboxGL—Jupyter tools, but it is useful for uploads and queries:

C:\Python3Geospatial>pip install mapbox
Download the Mapbox Python SDK here:  https://github.com/mapbox/mapbox-sdk-py.

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.