Installation¶
Using Anaconda or Miniconda (recommended)¶
Using conda (latest version recommended), py_tools_ds is installed as follows:
Create virtual environment for py_tools_ds (optional but recommended):
$ conda create -c conda-forge --name py_tools_ds python=3 $ conda activate py_tools_ds
Then install py_tools_ds itself:
$ conda install -c conda-forge py-tools-ds
This is the preferred method to install py_tools_ds, as it always installs the most recent stable release and automatically resolves all the dependencies.
Using pip (not recommended)¶
There is also a pip installer for py_tools_ds. However, please note that py_tools_ds depends on some open source packages that may cause problems when installed with pip. Therefore, we strongly recommend to resolve the following dependencies before the pip installer is run:
gdal
numpy
pyproj >=2.1.0
shapely
Then, the pip installer can be run by:
$ pip install py_tools_ds
If you don’t have pip installed, this Python installation guide can guide you through the process.
Note
py_tools_ds has been tested with Python 3.7+., i.e., should be fully compatible to all Python versions from 3.7 onwards.