Skip to content

Latest commit

 

History

History
executable file
·
76 lines (46 loc) · 1.21 KB

SETUP.md

File metadata and controls

executable file
·
76 lines (46 loc) · 1.21 KB

Installation

Conda

Package is working on every operating system if you install it from the conda package manager with a command:

conda install -c conda-forge pyinterpolate

Conda installation requires Python in version >= 3.8.

Pip

To install pyinterpolate from pip type in your terminal:

pip install pyinterpolate

Q&A

Jupter Notebook


I'd like to run Jupyter Notebooks, what should I do?


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 conda notebooks.

Older issues (Python versions <3.8)

The libspatialindex_c.so dependency error


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

MAC OS:

brew install spatialindex