NOTE: If you're on Windows, all commands below have to be executed in the Anaconda Prompt (NOT the Command Prompt)
We use conda
to make sure we have clean, isolated environment for dependencies.
First time using conda
?
Make sure you run this at least once:
(base) conda config --add channels conda-forge
(base) conda env create -f https://dfab.link/intro24.yml
(base) conda activate intro24
(intro24) python -m compas_rhino.install -v 7.0
Clone the repository:
(intro24) cd Documents
(intro24) git clone https://github.com/gramaziokohler/compas_introduction_2024.git
(intro24) python -m compas
Yay! COMPAS is installed correctly!
COMPAS: 2.4.3
Python: 3.10.15 (CPython)
Extensions: ['compas']
To update your environment:
(intro24) conda env update -f https://dfab.link/intro24.yml