Grasshopper

algorithmic modeling for Rhino

Hey There!

The Last post on a similar discussion is over a year ago, so I start a new one. I want to work with Numpy in Grasshopper but have now idea how I get it to work. I followed the steps on this side:

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

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 numpy-2.0.0-1.egg       


Everything worked until step 3.) I can install the ironpkg-1.0.0.py file but
can´t open the help text

And I also followed this steps from another post:



The issue is that ironpkg cannot access the eggs because this also requires authentication. The reason you were able to install ironpkg (you'll see an egg file was created) is due to that fact that the egg data was in the install file ironpkg-1.0.0.py (see b64eggdata in the file).

1. The installation eggs are located here: https://store.enthought.com/repo/.iron/eggs/ 

2. Download the eggs and change to your local directory where you download them

3. Run this script in the same directory:

         https://gist.github.com/blondegeek/2dbc22360422d0c4b637

   as:

         ipy IronPython_numpy_scipy.py --install

4. Test with:

         ipy -X:Frames -c "import scipy"


So the problem is at step 3. I changed the direction in cmd and tried
to install numpy with following command
"ipy IronPython_numpy_scipy.py --install" but
then theres an error saying "No module named egginst". I have no Idea what that means
and what I have to change to get it working. I also tried to install the eggs manually
but failed. I´ve located all files in my Download folder. I hope you can help me!

Views: 1985

Replies are closed for this discussion.

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service