pymetar command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pymetar: command not found
or when using sudo you get the following error message
sudo: pymetar: command not found
Solutions to pymetar: command not found
How To Fix pymetar: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pymetar is provided by python3-pymetar package.
python3-pymetar is:
The pymetar Python interface provides full and easy to use access to the METAR reports available from the NOAA (National Oceanic and Atmospheric Administration, http://www.noaa.gov).
METAR (METeorological Aviation Report) is the international standard code format for hourly surface weather observations.
This package consists of the Python library itself and a command line tool for end users.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-pymetar
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pymetar.
sudo apt -y install python3-pymetar
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pymetar
Summary
In this tutorial we learn how to fix pymetar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.