Grasshopper

algorithmic modeling for Rhino

What's the problem?!?! I can't use rhinopython!!!

To install numpy into RhinoIronPython, I installed IronPython 2.7.6.3 (2.7.6.3) on .NET 4.0.30319.42000 (64-bit).

Suddenly I can't use Rhino and GH python!!!
when I try to use python on both rhino & GH, this one came out and rhinoceros is disappear...like this

 

it said " Rhinoceros5's working is stopped. because some problems occured so Rhinoceros5 can't work correctly no longer " then I have no choice but terminate Rhinoceros.

There are some discussion about RhinoIronPython installing numpy though, no one has same problem like me. so Please somebody tell me!!

and one more question...
just in case, I tried to install numpy into ironPython2.7 

C:\Program Files (x86)\IronPython 2.7>ipy "C:\Program Files (x86)\IronPython 2.7\ironpkg-1.0.0..py" --install
Bootstrapping: c:\users\owner\appdata\local\temp\tmp2nand1\ironpkg-1.0.0-1.egg
118 KB [.................................................................]

C:\Program Files (x86)\IronPython 2.7>ironpkg -h
Usage: ironpkg-script.py [options] [name] [version]

.

.

.

C:\Program Files (x86)\IronPython 2.7>ironpkg scipy
Wrote configuration file: C:\Users\owner\.ironpkg
=============================================================================
Traceback (most recent call last):
File "C:\Program Files (x86)\IronPython 2.7\ironpkg-script.py", line 10, in <module>
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\enstaller\main.py", line 364, in main
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\enstaller\indexed_repo\chain.py", line 27, in __init__
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\enstaller\indexed_repo\chain.py", line 67, in add_repo
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\enstaller\utils.py", line 92, in write_data_from_url
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 435, in open
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 407, in _call_chain
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 654, in http_error_302
File "C:\Program Files (x86)\IronPython 2.7\Lib\httplib.py", line 1261, in __init__
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\enstaller\utils.py", line 73, in open_url
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 154, in urlopen
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 547, in http_response
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 467, in error
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 429, in open
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 446, in _open
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 407, in _call_chain
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 1240, in https_open
File "C:\Program Files (x86)\IronPython 2.7\Lib\urllib2.py", line 1167, in do_open
AttributeError: 'module' object has no attribute '_create_default_https_context'

C:\Program Files (x86)\IronPython 2.7>

how can I deal with this error?

Views: 799

Replies to This Discussion

Hi, I met this problem when I installed numpy, but I forget how I solve it.

Actually, when I found Rhino can't run, I uninstalled IronPython and deleted its folder from PATH. Actually, I didn't add its folder to PATH in the end. I'm not sure if this is the key of this issue.

BTW, I never succeeded in importing numpy in 64-bit. It works on 32-bit, but not on 64-bit for me.

after I uninstalled IronPython2.7, I can use RhinoPython again but actually  I really need numpy. also I tried in Rhino 32bit still same message appear...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service