ModuleNotFoundError: No module named 'compas.robots'

An error ModuleNotFoundError: No module named 'compas.robots' occurs when importing the compas_view2.app
Perhaps this is due to from compas.robots import RobotModel is written in the file …\anaconda3\Lib\site-packages\compas_view2\objects_init_.py instead of from compas_robots import RobotModel. You also need to add a mandatory compas_robots installation requirement for the compas__view2 library

hi,

compas_view2 is deprecated. please use compas_viewer instead. you can install it directly from PyPI using pip.

the repo is available here: GitHub - compas-dev/compas_viewer: Standalone viewer for COMPAS with PyOpenGL and PySide6.

1 Like