ImportError: No module named 'PIL'

If you see the following import error:

ImportError: No module named 'PIL'

This can be corrected by:

pip install image

This got rid of the PIL error, but then I got an error:
“OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling”
when trying to run the cablenet example from here:
https://compas-dev.github.io/main/examples/fofin/00-cablenet.html

Does the cablenet example no longer run, or is there something wrong with my install?

hi paul,

sorry about that.
i will check and get back to you with a solution…

best,
tom

lost track of this a bit…

i can’t reproduce the error.
could you paste the setup function of the default viewer here?

compas.viewers.viewer.Viewer.setup()

thanks,
tom