Installation
COMPAS can be easily installed on multiple platforms, using popular package managers such as conda or pip.
Install with conda (recommended)
Create an environment named research
and install COMPAS from the package channel conda-forge
.
conda create -n research -c conda-forge compas
Activate the environment.
conda activate research
Verify that the installation was successful.
python -m compas
Yay! COMPAS is installed correctly!
Installation options
Install COMPAS in an environment with a specific version of Python.
conda create -n research python=3.9 compas
Install COMPAS in an existing environment.
conda install -n research compas
Install with pip
Install COMPAS using pip
from the Python Package Index.
pip install compas
Install an editable version from local source.
cd path/to/compas
pip install -e .
Update with conda
Update COMPAS to the latest version with conda
.
conda update compas
Install a specific version.
conda install compas=1.17.9
Update with pip
Update COMPAS to the latest version with pip
.
pip install --upgrade compas
Install a specific version.
pip install compas==1.17.9