pyproj command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pyproj: command not found
or when using sudo you get the following error message
sudo: pyproj: command not found
Solutions to pyproj: command not found
How To Fix pyproj: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pyproj is provided by python3-pyproj package.
python3-pyproj is:
PROJ performs cartographic transformations between geographic (lat/lon) and map projection (x/y) coordinates. It can also transform directly from one map projection coordinate system to another.
This is a Python 3 binding to PROJ, it can receive coordinates as numpy arrays, Python arrays, lists or scalars. This module is optimized for numpy arrays.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-pyproj
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pyproj.
sudo apt -y install python3-pyproj
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pyproj
Summary
In this tutorial we learn how to fix pyproj command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.