Trying to import Numpy in Rhino Python but I'm getting this error : "cannot import multiarray from numpy.core"

Are you running cmd.exe in administrator mode? Right click on the icon then select “Run as Administrator”

Enthought does not seems to support this page anymore:

https://store.enthought.com/repo/.iron/

Does anyone know how if it is hosted somewhere else?

Hi all,

After a painful process of installling numpy. I would summarize my process as below. Hope it is helpful to everyone.

  1. Download all the egss here. If the link do not work, google “numpy egg enthought”

http://code.enthought.com/.iron/eggs/index.html

Download all of them to your Downloads folder

  1. Follow the instruction here

However, at step 6 write this:
“C:\Program Files (x86)\IronPython 2.7\ipy.exe” IronPython_numpy_scipy.py --install

It will return an “egginst” error. That’s because you do not have that module yet.

  1. Download ironpkg here

Copy the egginst folder to downloads

  1. Repeat step 2

  2. Modify settings in RhinoPython as step 3 in here

  1. Finally import clr, mtrand, numpy described the link above. However, please note that this only works in 32 bit. So I’m not sure if numpy works in Rhino 6 too
2 Likes