[Ironpython-users] FW: How to install Scipy and Numpy for .net offline?

Jeff Hardy jdhardy at gmail.com
Tue Dec 13 17:27:24 CET 2011


2011/12/12  <Cheng-B.Li at ubs.com>:
> Hi Jason,
>
> I used your recommended way to install the numpy and scipy packages. It
> works fine for numpy but failed on scipy. I put the python source file under
> lib/site-packages and the dlls under the folder IronPython 2.7.1/DLLs.  The
> error messgae reads as follows:
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "C:\Program Files\IronPython
> 2.7.1\lib\site-packages\scipy\__init__.py", line 124, in <module>
>     pkgload = PackageLoader()
>   File "C:\Program Files\IronPython
> 2.7.1\lib\site-packages\numpy\_import_tools.py", line 15, in __init__
>     self.parent_frame = frame = sys._getframe(_level)
> AttributeError: 'module' object has no attribute '_getframe'
>
> Do you know where the problem lies. Much thx.

You'll have to run IronPython with the -X:FullFrames option (i.e.
ipy.exe -X:FullFrames).

- Jeff


More information about the Ironpython-users mailing list