Scipy and Numpy

Hi everybody!

I know that the question was already asked but I still struggle with the installation of numpy / scipy on ironpython. 

So if anybody have a tips to make it works it would be nice. :)

A tried a lot already but I cannot figure out the problem on step 4.  I did every steps describe there :https://stevebaer.wordpress.com/2011/06/27/numpy-and-scipy-in-rhino... and also there : https://store.enthought.com/repo/.iron/ (You should have an account to connect there.)

So I get an error of IO I think, in step 4. It is describe here : (>>> http://community.sharpdevelop.net/forums/t/16072.aspx )

1.) IronPython

Download and install IronPython 2.7, this will require .NET v4.0.

2.) Modify PATH

Add the install location on the path, this is usually: C:\Program File\IronPython 2.7

But on 64-bit Windows systems it is: C:\Program File (x86)\IronPython 2.7

As a check, open a Windows command prompt and go to a directory (which is not the above) and type:

> ipy -V PythonContext 2.7.0.40 on .NET 4.0.30319.225 

3.) ironpkg

Bootstrap ironpkg, which is a package install manager for binary (egg based) Python packages. Download ironpkg-1.0.0.py and type:

> ipy ironpkg-1.0.0.py --install 

Now the ironpkg command should be available:

> ironpkg -h (some useful help text is displayed here) 

4.) scipy

Installing scipy is now easy:

> ironpkg scipy 


Any tips would be nice.  Thank's.

Tristan

Load Previous Replies
  • up

    Olivia U

    Great thread! Thanks for sharing everyone.
    Olivia at http://www.ampronix.com/

    • up

      Apfelbaum

      Hey together. Some time went by but I have to refresh the discussion. I followed all explanations but cant´t get numpy to work with rhino. Everything seems to work but the installation of the eggs doesn´t. I followed the steps of Tess but when I do step 3 theres the Error "No module named egginst". So I don´t know what to do. I have everything located in my Download folder.

      Hope you can help me! I need a simple explanation. I have no idea of this hole stuff.

      Martin

      • up

        Mahmoud AbdelRahman

        I'm trying to develop a new GH Python interface which could run all the existing Python modules from grasshopper (work on progress)
        https://github.com/MahmoudAbdelRahman/GhPythonINTERFACE
        www.m-ouf.com

        18