Installation
TaxonoPy can be installed with pip after setting up a virtual environment.
pip install taxonopy
GNVerifier Dependency
TaxonoPy relies on the GNVerifier CLI to resolve taxonomic names. When you run
taxonopy resolve, it will automatically try the following:
- Docker (recommended). If Docker is available, TaxonoPy checks for the
configured GNVerifier image (default:
gnames/gnverifier:v1.2.5) and pulls it if needed. The first run may take a bit longer while the image downloads. See gnames/gnverifier on Docker Hub. - Local GNVerifier. If Docker is unavailable or the image pull fails,
TaxonoPy looks for a local
gnverifierbinary on yourPATH. The version used will be whatever is installed on your system, which may differ from the pinned container version. For install instructions, see the GNVerifier README: gnverifier installation.
If neither Docker nor a local GNVerifier is available, TaxonoPy will raise an
error when you attempt to resolve names. In that case, install Docker or install
GNVerifier locally and ensure the gnverifier command is available.