You can install the latest release of osm2gmns at PyPI via pip:

pip install osm2gmns

After running the command above, the osm2gmns package along with three necessary dependency packages (Shapely, pandas and protobuf) will be installed to your computer (if they have not been installed yet).

If you install osm2gmns in a conda environment, you may get an error message: “OSError: [WinError 126] The specified module could not be found” when importing osm2gmns. To resolve this issue, you need to uninstall the Shapely package first, and reinstall it manually using the command below.

conda install shapely