Installation

You can install Campo on Windows, macOS or Linux. Supported Python versions are 3.11 or higher.

Installing Python

We suggest to install the Miniforge distribution. Alternative distributions are Miniconda, or Anaconda provided by Continuum Analytics. The user guide and short reference on the conda pacakge manager can be found here.

Installing Campo using Conda

You can install the latest Campo version with

conda create --name campo -c conda-forge campo
# or
mamba create --name campo -c conda-forge campo

For installing Campo including additional software packages used in our on-site or online courses, type:

conda create --name campo -c conda-forge campo spyder spyder-terminal qgis

You can test your installation afterwards by printing the Campo version number

$ conda activate campo
(campo) $ python -c "import campo; print(campo.__version__)"
0.3.12