Compas_viewer error in google colab

Hi !

I tried to run a small test on google colab. The compas geometry and datastructure part works well but running the viewer throws an error.

Has anybody tried this before?

thanks in advance!

Google Colab doesn’t have a desktop GUI to be able to launch the compas_viewer, instead, try using compas_notebook for visualization within a jupyter notebook: compas_notebook — COMPAS Notebook


1 Like

thanks @gonzalocasas

I tried it with compas_notebook like you suggested. seems like i still need to install additional dependencies to view it on google collab?

ok thanks! it works after adding the following

from google.colab import output



It’s great to hear that it worked!