How to fix Python ModuleNotFoundError: No module named 'osmium'

Problem:

When you running your python script, you see an error message like

osmium_trace.txt
Traceback (most recent call last):
    File "run.py", line 2, in <module>
        import osmium as osm
ModuleNotFoundError: No module named 'osmium

Solution

Install pyosmium using

example.sh
pip install -U osmium

 

 


Check out similar posts by category: OpenStreetMap, Python