pyosmium-get-changes command not found

In this troubleshooting guide we learn how to fix pyosmium-get-changes command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pyosmium-get-changes: command not found

or when using sudo you get the following error message

sudo: pyosmium-get-changes: command not found

Solutions to pyosmium-get-changes: command not found

How To Fix pyosmium-get-changes: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pyosmium-get-changes is provided by pyosmium package.

pyosmium is:

The PyOsmium module allows you to access some of the features of the Osmium library from Python code.

PyOsmium has extensive support for all types of OSM entities: nodes, ways, relations, and changesets. It allows reading from OSM files in XML and PBF formats, including change files and full history files. Its easy to use handler interface allows you to quickly write data filtering and conversion functions.

This package contains the PyOsmium utilities.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pyosmium

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pyosmium.

sudo apt -y install pyosmium

Or if you have aptitude installed you can use the following command.

sudo aptitude install pyosmium

Summary

In this tutorial we learn how to fix pyosmium-get-changes command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.