# ModuleNotFoundError: No module named 'compas.robots'

**URL:** <https://forum.compas-framework.org/t/modulenotfounderror-no-module-named-compas-robots/895>\
**Category:** compas\
**Created:** [September 20, 2024, 10:56am UTC](https://forum.compas-framework.org/t/modulenotfounderror-no-module-named-compas-robots/895 "2024-09-20T10:56:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrei](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/andrei/32/646_2.png) [@Andrei](https://forum.compas-framework.org/u/Andrei)\
**Post date:** [September 20, 2024, 10:56am UTC](https://forum.compas-framework.org/t/modulenotfounderror-no-module-named-compas-robots/895/1 "2024-09-20T10:56:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [October 3, 2024, 10:04am UTC](https://forum.compas-framework.org/t/modulenotfounderror-no-module-named-compas-robots/895/2 "2024-10-03T10:04:32Z")

</div>

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.](https://github.com/compas-dev/compas_viewer)
