Jorin 发表于 2013-12-29 00:55
像在普通python下安装那样的方式安装好,然后把C:\Program Files (x86)\Rhinoceros 5\Plug-ins\IronPytho ...
通过远程协助,终于在ironpython 2.7上装好numpy,测试可用
在rhino的python tool option 那里链接到numpy安装的位置
import numpy as np
a=np.array([1,1,1])
print a
反馈的信息是:
Message: Could not add reference to assembly NumpyDotNet
Traceback:
line 6, in <module>, "C:\Program Files (x86)\IronPython 2.7\Lib\site-packages\numpy\core\multiarray.py"
line 6, in <module>, "C:\Program Files (x86)\IronPython 2.7\Lib\site-packages\numpy\core\__init__.py"
line 155, in <module>, "C:\Program Files (x86)\IronPython 2.7\Lib\site-packages\numpy\__init__.py"
line 1, in <module>, "C:\Users\User\AppData\Local\Temp\TempScript.py" |