pip install osm2gmns
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
Windows users may get an error message related to osmium (one of the dependency packages of osm2gmns) when installing or using osm2gmns with Python version > 3.8. The reason is the highest Python version that osmium supports on PyPI is Py3.8 for Windows.