# No module named numpy - Rhino 7.0

**URL:** <https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559>\
**Category:** compas\_rhino\
**Created:** [February 10, 2022, 6:19pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559 "2022-02-10T18:19:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dchatzin](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dchatzin](https://forum.compas-framework.org/u/dchatzin)\
**Post date:** [February 10, 2022, 6:19pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/1 "2022-02-10T18:19:19Z")

</div>

When I import compas.geometry into rhino, it throws me the following error;  
No module named numpy.

The problem is that it happens no matter what, even if I just run for example the single line import script

```auto
from compas.geometry import Plane

```

The traceback error leads me to “compas/geometry/transformations/transformation\_numpy.py”

Any idea?

---

<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:** [February 22, 2022, 7:49am UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/2 "2022-02-22T07:49:30Z")

</div>

hi,

i think this might be related to the changed version of IronPython shipped with Rhino in recent updates. with this version `compas` doesn’t identify `ipy` correctly and will not prevent `numpy` libs to be loaded in Rhino.

if i am not mistaken, this should be fixed in the very latest release of `compas`. could you check if the problem also occurs with `1.14.1`?

---

<div class="post-metadata">

**Author:** ![Cy\_Wei](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/cy_wei/32/372_2.png) [@Cy\_Wei](https://forum.compas-framework.org/u/Cy_Wei)\
**Post date:** [March 4, 2022, 9:50pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/3 "2022-03-04T21:50:58Z")

</div>

Hi,

I have the same issue. after I updated my Rhino 7 to 7.15.(wasn’t an issue with 7.14) and I contacted Rhino, they said they fixed it in 7.16. but I checked it today the error is still there. My CAMPAS is 1.14.1. Do you know the reason?

Thanks

---

<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:** [March 14, 2022, 10:25am UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/4 "2022-03-14T10:25:22Z")

</div>

The ironpython misidentification issue should only exist in Rhino 7.16 as far as I know, but in any case, it should indeed be solved with compas `1.14.1`.

@Cy_Wei does this occur with any script? Or do you have a specific example code that reproduces the issue?

---

<div class="post-metadata">

**Author:** ![Cy\_Wei](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/cy_wei/32/372_2.png) [@Cy\_Wei](https://forum.compas-framework.org/u/Cy_Wei)\
**Post date:** [March 16, 2022, 3:38pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/5 "2022-03-16T15:38:51Z")

</div>

I just upgrade the rhino to 7.17, the problem has been solved. Thanks, @gonzalocasas

---

<div class="post-metadata">

**Author:** ![ricardoavelino](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@ricardoavelino](https://forum.compas-framework.org/u/ricardoavelino)\
**Post date:** [March 22, 2022, 7:56am UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/6 "2022-03-22T07:56:38Z")

</div>

Update to `1.14.1` solves the problem indeed.

---

<div class="post-metadata">

**Author:** ![Hongjie\_Cai](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/hongjie_cai/32/587_2.png) [@Hongjie\_Cai](https://forum.compas-framework.org/u/Hongjie_Cai)\
**Post date:** [March 20, 2024, 5:35pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/7 "2024-03-20T17:35:51Z")

</div>

help, i am facing same issue,  
I got error : No Module named numpy when i run code “from compas.geometry import Plane”  
I am using Rhino 7.36  
how to check my Compas version or how to upgrade.

---

<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:** [May 7, 2024, 10:55pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/8 "2024-05-07T22:55:17Z")

</div>

which version of `compas` are you using?

---

<div class="post-metadata">

**Author:** ![Mostafarhmi](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@Mostafarhmi](https://forum.compas-framework.org/u/Mostafarhmi)\
**Post date:** [May 8, 2024, 2:13pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/9 "2024-05-08T14:13:55Z")

</div>

i am facing same issue, my compas version: 2.1.0 ,  
my Rhino Python version :2.7.12  
What do I have to do?

---

<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:** [May 8, 2024, 5:01pm UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/10 "2024-05-08T17:01:27Z")

</div>

> [@Mostafarhmi](#):
>
> my Rhino Python version :2.7.12

could you specify which version of Rhino you are using (6, 7, 8), and in the case of Rhino 8, in which editor you are working (IronPython, CPython)?

thanks

---

<div class="post-metadata">

**Author:** ![Mostafarhmi](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@Mostafarhmi](https://forum.compas-framework.org/u/Mostafarhmi)\
**Post date:** [May 10, 2024, 5:25am UTC](https://forum.compas-framework.org/t/no-module-named-numpy-rhino-7-0/559/11 "2024-05-10T05:25:31Z")

</div>

my Rhino version is 7  
Thanks
