How to Install geopandas in Python

v1.1.3 Data & Science Python >=3.10

Geographic pandas extensions

Install pip install geopandas

What is geopandas?

Geographic pandas extensions

GeoPandas is a project to add support for geographic data to objects.

The goal of GeoPandas is to make working with geospatial data in python easier. It combines the capabilities of and _, providing geospatial operations in pandas and a high-level interface to multiple geometries to shapely. GeoPandas enables you to easily do operations in python that would otherwise require a spatial database such as PostGIS.

Quick Start

Minimal example to get started with geopandas:

import geopandas

print(geopandas.__version__)

Installation

pip (standard)

pip install geopandas

Virtual environment (recommended)

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

pip3

pip3 install geopandas

conda

conda install -c conda-forge geopandas

Poetry

poetry add geopandas

Dependencies

Installing geopandas will also install these packages:

Verify the Installation

After installing, confirm the package is available:

python -c "import geopandas; print(geopandas.__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 geopandas with pip.

ModuleNotFoundError: No module named 'geopandas'

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

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

ModuleNotFoundError: No module named 'geopandas' (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 geopandas to install into the interpreter you are running.

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

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

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

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 geopandas. 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 geopandas

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 geopandas

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
1.1.3 latest 2026-03-09
1.1.2 2025-12-22
1.1.1 2025-06-26
1.1.0 2025-06-01
1.0.1 2024-07-02

Full release history on PyPI →

Manage geopandas

Upgrade to latest version

pip install --upgrade geopandas

Install a specific version

pip install geopandas==1.1.3

Uninstall

pip uninstall geopandas

Check what is installed

pip show geopandas

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