# Installation

## Installing GeoPandas

To install the released version, you can use pip:

    pip install geopandas

or you can install the conda package from the conda-forge channel:

    conda install -c conda-forge geopandas

You may install the latest development version by cloning the GitHub repository and using the setup script:

    git clone https://github.com/geopandas/geopandas.git
    cd geopandas
    pip install .

It is also possible to install the latest development version directly from the GitHub repository with:

    pip install git+git://github.com/geopandas/geopandas.git

## Dependencies

Installation via conda should also install all dependencies, but a complete list is as follows:

- numpy
- pandas (version 0.15.2 or later)
- shapely
- fiona
- six
- pyproj

Further, optional dependencies are:

- geopy 0.99 (optional; for geocoding)
- psycopg2 (optional; for PostGIS connection)
- rtree (optional; spatial index to improve performance)

For plotting, these additional packages may be used:

- matplotlib
- descartes
- pysal

These can be installed independently via the following set of commands:

    conda install -c conda-forge fiona shapely pyproj rtree
    conda install pandas