📃 COMPAS documentation | 🎦 Slides
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/intro.yml
(base) conda activate intro
(intro) python -m compas_rhino.install
Clone the repository:
(intro) cd Documents
(intro) git clone https://github.com/gramaziokohler/compas_introduction.git
(intro) python -m compas
Yay! COMPAS is installed correctly!
COMPAS: 1.17.4
Python: 3.9.13 (CPython)
Extensions: ['compas-occ', 'compas-rrc', 'compas-view2', 'compas-cgal', 'compas-fab']
To update your environment:
(intro) conda env update -f https://dfab.link/intro.yml