Stable releases can be installed using a combination of conda and pip.
conda create -n cra python=3.9 pyomo=6.4.2 ipopt compas
Note
On Windows, you should install ipopt=3.11.1
.
conda activate cra
pip install compas_cra
To use the CRA viewer, you should also install :mod:`compas_viewer`.
conda install matplotlib compas_viewer
The latest version can be installed from local source using an environment file.
Please use the correct environment file for your system
(env_linux.yml
, env_osx.yml
, env_win.yml
)
git clone https://github.com/blockresearchgroup/compas_cra.git
cd compas_cra
conda env create -f env_osx.yml
Note that this will automatically create an editable install that can be used for development.