Installation¶
Table of contents¶
- Supported platforms and dependencies
- Install via a package manager
- Installing PlantCV-Geospatial for contributors
Supported platforms and dependencies ¶
- Linux 64-bit, x86 processors
- macOS x86 (Intel) and M (ARM) processors
- Windows 64-bit, x86 processors
First, you must have PlantCV installed, which requires Python (tested with versions 3.11, 3.12, and 3.13) and these Python packages. Follow one of the methods for PlantCV Installation and then continue with the instructions below to add PlantCV-Geospatial to your environment. Additionally, we recommend installing JupyterLab.
Install via a package manager ¶
PlantCV-Geospatial requires main PlantCV v5. Follow the installation instructions to create a conda environment with recommended dependencies:
conda create -n plantcv -c conda-forge jupyterlab ipympl nodejs
Then, activate the environment and install main PlantCV version 5 and PlantCV-Geospatial from PyPi:
conda activate plantcv
pip install 'plantcv==5.0.0rc1' plantcv-geospatial
Installing PlantCV-Geospatial for contributors ¶
Before getting started, please read our contributor guidelines and code of conduct.
You can follow the PlantCV Installation for Contributor Guide and then continue with the instructions below to add PlantCV-Geospatial to your development environment.
PyPi installation (after PlantCV Installation):
# Activate the plantcv environment (you will have to do this each time you start a new session)
conda activate plantcv
# Install plantcv-geospatial in editable mode so that it updates as you work on new features/updates
git clone https://github.com/danforthcenter/plantcv-geospatial.git
cd plantcv-geospatial
pip install -e .