# Installation

mapclassify supports python `3.9`_+. Please make sure that you are operating in a python 3 environment.

## Installing released version

mapclassify is available in on conda via the conda-forge channel:

    conda install -c conda-forge mapclassify

mapclassify is also available on the Python Package Index. Therefore, you can either install directly with pip from the command line:

    pip install -U mapclassify

or download the source distribution (.tar.gz) and decompress it to your selected destination. Open a command shell and navigate to the decompressed folder. Type:

    pip install .

## Installing development version

Potentially, you might want to use the newest features in the development version of mapclassify on github - pysal/mapclassify while have not been incorporated in the Pypi released version. You can achieve that by installing pysal/mapclassify by running the following from a command shell:

    pip install git+https://github.com/pysal/mapclassify.git

You can also fork the pysal/mapclassify repo and create a local clone of your fork. By making changes to your local clone and submitting a pull request to pysal/mapclassify, you can contribute to mapclassify development.