INSTALLING VERR¶
CONDA¶
verr
from Anaconda:If you use
conda
, you can install verr
from the conda-forge
channel:# Best practice, use an environment rather than install in the base env
conda create -n my-env
conda activate my-env
# If you want to install from conda-forge
conda config --env --add channels conda-forge
# The actual install command
conda install -c conda-forge verr
PIP¶
verr
from PyPI:If you use pip, you can install
verr
with:pip install verr
Also when using pip, it’s good practice to use a virtual environment - see Reproducible Installs below for why, and this guide for details on using virtual environments.
REPRODUCIBLE INSTALLS¶
As libraries get updated, results from running your code can change, or your code can break completely. It’s important to be able to reconstruct the set of packages and versions you’re using. Best practice is to:
use a different environment per project you’re working on,
record package names and versions using your package installer; each has its own metadata format for this:
Pip: virtual environments and requirements.txt