How to Install pyproj in Python

v3.7.2 Data & Science Python >=3.11

Python interface to PROJ (cartographic projections and coordinate transformations library)

Install pip install pyproj

What is pyproj?

Python interface to PROJ (cartographic projections and coordinate transformations library)

Python interface to PROJ (cartographic projections and coordinate transformations library).

Thanks goes to these wonderful people (emoji key):

Jeff Whitaker πŸ“– ⚠️ πŸ’» πŸ’‘ πŸ€” πŸ‘€ πŸ’¬ 🚧 πŸš‡ πŸ› Alan D. Snow πŸ“– ⚠️ πŸ’» πŸ’‘ 🚧 πŸš‡ πŸ€” πŸ‘€ πŸ’¬ πŸ› Micah Cochran πŸ“– ⚠️ πŸ’» 🚧 πŸš‡ πŸ‘€ πŸ’¬ πŸ› Joris Van den Bossche πŸ“– πŸ’» πŸ€” πŸ‘€ πŸ’¬ πŸ› ⚠️ Chris Mayo ⚠️ Charles Karney πŸ’» ⚠️ Justin Dearing πŸš‡ Jos de Kloe πŸ’» ⚠️ πŸ› George Ouzounoudis πŸ’» πŸ€” David Hoese πŸ‘€ πŸ€” πŸ“¦ πŸ“– ⚠️ πŸ’» Mikhail Itkin πŸ’» Ryan May πŸ’» artttt πŸ€” Filipe πŸš‡ πŸ’» πŸ“¦ πŸ“– Heitor πŸ“– Bas Couwenberg πŸ’» πŸ“¦ ⚠️ Nick Eubank πŸ’» Michael Dunphy πŸ“– Matthew Brett πŸš‡ πŸ“¦ Jakob de Maeyer πŸ’» The Gitter Badger πŸ“– Bernhard M. Wiedemann πŸ’» Marco AurΓ©lio da Costa πŸ’» Christopher H. Barker πŸ’» Kristian Evers πŸ’¬ πŸ€” πŸ“– Even Rouault πŸ’¬ Christoph Gohlke πŸ“¦ πŸ’¬ πŸ› ⚠️ Chris Willoughby πŸ’» Guillaume Lostis πŸ“– Eduard Popov πŸ“– Joe Ranalli πŸ› πŸ’» ⚠️ Greg Berardinelli πŸ› πŸ’» πŸ€” ⚠️ Martin Raspaud πŸ› πŸ’» ⚠️ πŸ€” Mike Taves ⚠️ David HaberthΓΌr πŸ“– mmodenesi πŸ› πŸ’» ⚠️ jacob-indigo πŸ› πŸ’» Poruri Sai Rahul ⚠️ Yann-Sebastien Tremblay-Johnston πŸ“– odidev πŸ“¦ Idan Miara πŸ’» πŸ“– πŸ’‘ ⚠️ Brendan Jurd πŸ“– 🎨 Bill Little πŸ“– Gerrit Holl πŸ“– Kirill Kouzoubov πŸ’» Dan Hemberger πŸ› πŸ’» Martin Fleischmann πŸ› πŸ’» ⚠️ Matthias Meulien πŸ’» πŸ› Isaac Boates πŸ’» πŸ› ⚠️ Kyle Penner πŸ’» πŸ› πŸ“– paulcochrane πŸ’» πŸ“– ⚠️ πŸ› Antonio Ettorre πŸ“¦ DWesl πŸ’» VΓ­ctor Molina GarcΓ­a πŸ“¦ Samuel Kogler πŸ› πŸ’» Alexander Shadchin πŸ› πŸ’» Greg Lucas πŸ’» πŸ€” 🚧 Dan Mahr πŸ’» πŸ“– ⚠️ Romain Hugonnet πŸ’» πŸ“– ⚠️ Javier Jimenez Shaw πŸ’» πŸ“– ⚠️ Daniel McDonald πŸ“– Cora Schneck πŸ“– ⚠️ zanejgr πŸ“– Tomasz KΕ‚oczko ⚠️ Trinh Quoc Anh ⚠️ necabo πŸ“¦

Quick Start

Minimal example to get started with pyproj:

import pyproj

print(pyproj.__version__)

Installation

pip (standard)

pip install pyproj

Virtual environment (recommended)

python -m venv venv
source venv/bin/activate   # Windows: venv\Scripts\activate
pip install pyproj

pip3

pip3 install pyproj

conda

conda install -c conda-forge pyproj

Poetry

poetry add pyproj

Dependencies

Installing pyproj will also install these packages:

Verify the Installation

After installing, confirm the package is available:

python -c "import pyproj; print(pyproj.__version__)"

If this prints a version number, installation succeeded. If you see a ModuleNotFoundError, see the errors section below.

Installation Errors

Common errors when installing pyproj with pip.

ModuleNotFoundError: No module named 'pyproj'

Cause: The package is not installed in the current Python environment.

Fix: Run pip install pyproj. If using a virtual environment, ensure it is activated first.

ModuleNotFoundError: No module named 'pyproj' (installed but still failing)

Cause: pip installed the package into a different Python than the one running your script.

Fix: Use python -m pip install pyproj to install into the interpreter you are running.

ImportError: cannot import name 'X' from 'pyproj'

Cause: The function or class does not exist in the installed version.

Fix: Check the version with pip show pyproj and upgrade with pip install --upgrade pyproj.

pip: command not found

Cause: pip is not in PATH or Python was not added to PATH during installation.

Fix: Try python -m pip install pyproj. On macOS/Linux try pip3.

PermissionError: [Errno 13] Permission denied

Cause: No write access to the system Python package directory.

Fix: Use a virtual environment, or add --user: pip install --user pyproj

SSL: CERTIFICATE_VERIFY_FAILED

Cause: pip cannot verify PyPI's SSL certificate β€” common behind corporate proxies.

Fix: Try: pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pyproj

MemoryError when loading data

Cause: Dataset is too large to fit in RAM.

Fix: Read in chunks, filter columns on load, or consider Polars/Dask for out-of-core processing.

Recent Releases

VersionReleased
3.7.2 latest 2025-08-14
3.7.2rc1 2025-08-12
3.7.2rc0 2025-08-10
3.7.1 2025-02-16
3.7.1rc0 2025-02-15

Full release history on PyPI →

Manage pyproj

Upgrade to latest version

pip install --upgrade pyproj

Install a specific version

pip install pyproj==3.7.2

Uninstall

pip uninstall pyproj

Check what is installed

pip show pyproj

Last updated: 2026-04-11 • Data from PyPI