# Grasshopper: No module named compas\_fab

**URL:** <https://forum.compas-framework.org/t/grasshopper-no-module-named-compas-fab/664>\
**Category:** compas\_rhino\
**Created:** [January 27, 2023, 9:06am UTC](https://forum.compas-framework.org/t/grasshopper-no-module-named-compas-fab/664 "2023-01-27T09:06:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seghier](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/seghier/32/426_2.png) [@seghier](https://forum.compas-framework.org/u/seghier)\
**Post date:** [January 27, 2023, 9:06am UTC](https://forum.compas-framework.org/t/grasshopper-no-module-named-compas-fab/664/1 "2023-01-27T09:06:16Z")

</div>

Hi, why this error appears?

`Runtime error (ImportException): No module named compas_fab`

 ![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/98a98ef7e1a12e8e25153cb77b4256e4dc9a7585.png)

---

<div class="post-metadata">

**Author:** ![seghier](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/seghier/32/426_2.png) [@seghier](https://forum.compas-framework.org/u/seghier)\
**Post date:** [January 27, 2023, 9:07am UTC](https://forum.compas-framework.org/t/grasshopper-no-module-named-compas-fab/664/2 "2023-01-27T09:07:07Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/fdf301803dfabe1d3ee7eb2faee910c616de35a9.png)

---

<div class="post-metadata">

**Author:** ![gonzalocasas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/gonzalocasas/32/127_2.png) [@gonzalocasas](https://forum.compas-framework.org/u/gonzalocasas)\
**Post date:** [February 7, 2023, 1:35pm UTC](https://forum.compas-framework.org/t/grasshopper-no-module-named-compas-fab/664/3 "2023-02-07T13:35:20Z")

</div>

Hi @seghier,  
This command that you are using will install a compas package in Rhino, but only if you have already installed it on your environment beforehand. I believe what happens is that you’ve skip that step, so, make sure `compas_fab` is installed in your environment first (i.e. `conda install compas_fab`) and then you can try the rhino step.

However the Rhino step can be simpler, if you just type: `python -m compas_rhino.install`, it will install in Rhino all the existing compas extensions in your system, so you don’t have to explicitly do the `-p compas_fab` step at all.

I hope this helps!  
Cheers  
Gonzalo
