Setup#
Installation guidelines#
The package can be installed from conda and pip. Conda installation requires Python >= 3.8, pip installation requires Python >= 3.7.
Conda#
conda install -c conda-forge pyinterpolate
pip#
pip install pyinterpolate
Installation - additional topics#
Working with Notebooks#
Install pyinterpolate along notebook in your conda environment:
Step 1:
conda create -n [NAME OF YOUR ENV]
Step 2:
conda activate [NAME OF YOUR ENV]
Step 3:
conda install -c conda-forge notebook pyinterpolate
Now you are able to run library from a notebook.
The libspatialindex_c.so dependency error#
With Python==3.7 installation rtree and GeoPandas that are requirements for pyinterpolate may be not installed properly because your operating system does not have libspatialindex_c.so file. In this case install it from terminal:
Linux:
sudo apt install libspatialindex-dev
MacOS:
brew install spatialindex