# Error in python code in Rhino 6

**URL:** <https://forum.compas-framework.org/t/error-in-python-code-in-rhino-6/270>\
**Category:** compas\_rhino\
**Created:** [October 31, 2019, 2:09pm UTC](https://forum.compas-framework.org/t/error-in-python-code-in-rhino-6/270 "2019-10-31T14:09:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![radhiali](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@radhiali](https://forum.compas-framework.org/u/radhiali)\
**Post date:** [October 31, 2019, 2:09pm UTC](https://forum.compas-framework.org/t/error-in-python-code-in-rhino-6/270/1 "2019-10-31T14:09:22Z")

</div>

Hi

I have installed compas on my pc and for rhino 6. I did the check for import of compas, compas\_ags, compas\_3ds and compas\_tna, and they all passed with no error. Howver, I tried to run some thing in rhino, i added “from compas\_ags.viewers import Viewer”. I get an error saying “Message: No module named compas\_plotters.core”

Also when I added a line “from compas\_ags.ags import graphstatics”, the error states “Message: cannot import normalizerow from compas.numerical” .

Please let me know if there is a solution for that. I aplogize in advance if my question seem trivial. Thanks and have a good day.

---

<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 31, 2019, 3:37pm UTC](https://forum.compas-framework.org/t/error-in-python-code-in-rhino-6/270/2 "2019-10-31T15:37:17Z")

</div>

hi,

plotters and viewers are meant to be used outside of Rhino. they rely on `matplotlib` and that is not available in IronPython, which is the implementation of Python Rhino uses to execute Python code.

try running your code in VS Code or some other Python editor. there it should work…

let me know if you need more detailed instructions
