Installation ============ PyLandslide works on Python 3.6 (or later) on Windows, Linux, or OS X. Dependencies ------------ PyLandslide uses other freely available tools: * `Rasterio `_ * `Geopandas `_ * `NumPy `_ * `Scikit-learn `_ * `Pandas `_ * `Click `_ Installing with pip ------------------- PyLandslide and its dependencies can be installed through pip by running the following command: .. code-block:: shell pip install PyLandslide Installing from source code --------------------------- PyLandslide can be installed by downloading the source code and installing it locally. This approach is useful for those who want to use the development version instead of the released version published in pip. Also, to modify the source code or contribute to code development, one would need to have the code locally. Installing PyLandslide using this approach requires first cloning the code from the `GitHub Repository `_. This can be done by running the following command: .. code-block:: console git clone https://github.com/WRHGroup/PyLandslide.git Once the repository is cloned, navigate to its directory and run: .. code-block:: console python setup.py install Or the following for development mode: .. code-block:: console python setup.py develop