How to Install Pyproj on Linux?
Last Updated : 30 Sep, 2021
Pyproj is an Interface for the cartographic projections and coordinate transformations library (PROJ). In this article, we will look into the process of installing the Pyproj interface on a Linux machine.
Pre-requisites:
The only thing that you need for installing Numpy on Windows are:
Installing Pyproj Interface on Linux using Conda:
If you want the installation to be done through conda, you can use the below command:
conda install -c anaconda pyproj
Type in "y" for yes when prompted.
You will get a similar message once the installation is complete
Make sure you follow the best practices for installation using conda as:
- Use an environment for installation rather than in the base environment using the below command:
conda create -n my-env conda activate my-env
Note: If your preferred method of installation is conda-forge, use the below command:
conda config --env --add channels conda-forge
Verifying Pyproj Interface Installation on Linux using Conda:
Use the below command to verify if the above package has successfully installed:
conda list pyproj
You will get a similar message as shown below if the installation has been successful:

Installing Pyproj Interface on Linux using PIP:
Users who prefer to use pip can use the below command to install the package:
pip install pyproj
You will get a similar message once the installation is complete:
It is a good programming practice to install packages in a virtual environment rather than installing them globally. PIP users can use the below command to create a virtual environment:
python3 -m venv my-env
Activate the virtual environment (ie, my-env) using the below command:
source my-env/bin/activate
Verifying Pyproj Interface Installation on Linux using PIP:
Use the below command to check if the package has been successfully installed:
python3 -m pip show pyproj
You will get a similar message as shown below if the installation is successful:
Similar Reads
How to Install Python on Linux This guide explains how to install Python on Linux machines. Python has become an essential programming language for developers, data scientists, and system administrators. It's used for various applications, including web development, data science, automation, and machine learning.This comprehensiv
15+ min read
How to Install PyBrain on Linux? PyBrain is an open-source and free-to-use Python-based Machine Learning Library. Its main purpose is to provide machine learning tasks with flexible, easy-to-use, still a very powerful algorithms. It also provides a wide range of predefined environments which is used to test and compare different ty
2 min read
How to Install PyUSB on Linux? The PyUSB module or package provides for Python easy access to the host machineâs Universal Serial Bus (USB) system. Generally, it works without any extra code in any environment with python 3.6 and above. In this article, we will learn how to install the PyUSB on the Linux operating system. Require
1 min read
How to Install Python-sh on Linux? In python, the sh package is a full-fledged sub-process replacement for Python 2.6 - 3.8, PyPy, and PyPy3 that allows you to call any program as if it were a function. So, in this article, we will be installing the sh package in Python on Linux operating system. Installing Sh package on Linux using
1 min read
How to Install pywin32 on Linux? Pywin32 is a Python extension or library for Windows OS which is used to access the characteristics of the Win32 application programming interface (API) on the Python language environment. It supported Python 3 and above versions. In this article, we will look into the process of installing Pywin32
1 min read