Installing GeoAlchemy2 using pip

Use the command pip install GeoAlchemy2 to call the module from PyPI, download the wheel file, and install it into the Lib/site-packages folder of the Python installation:

C:\Python36\Scripts>pip install GeoAlchemy2

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.