Python ModuleNotFoundError beheben: No module named 'osmium'

English Deutsch

Problem:

Beim Ausführen des Python-Skripts wird eine Fehlermeldung wie folgende angezeigt

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

Lösung

pyosmium installieren mit

install_pyosmium.sh
pip install -U osmium

Check out similar posts by category: OpenStreetMap, Python