Install COMPAS with pip

The default package installer for Python is pip. You can use pip to install packages from the Python Package Index (PyPI). Use of pip can be easily combined with conda.

This combination can be very useful to install (COMPAS) packages that have not (yet) been released on conda-forge, or in situations where the installation with conda simply yields unsatisfactory results.

conda create -n ita21 python=3.9 cython --yes
conda activate ita21
pip install compas
python -m compas
Yay! COMPAS is installed correctly!

COMPAS: 1.8.1
Python: 3.9.7 | packaged by conda-forge | ...

Step-by-step

Create an environment named ita21 with conda and install Python 3.9 and cython. Answer "yes" to all confirmation requests (--yes).

conda create -n ita21 python=3.9 cython --yes

Activate the environment.

conda activate ita21

Install compas with pip from PyPI.

pip install compas

Test the installation.

python -m compas

Known Issues

There are a few known issues with pip-based installations. They are documented here: https://compas.dev/compas/dev/installation.html#known-issues-1

Last updated