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.
Regards,
Cheng
________________________________
From: Li, Cheng-B
Sent: 2011年12月6日 10:20
To: 'Jason McCampbell'
Cc: ironpython-users@python.org
Subject: RE: FW: How to install Scipy and Numpy for .net offline?
Hi Jason,
Don't worry. The internet problem is due to my internet connection's
restriction. There is nothing wrong on your side. I'll try to install it
manually. Thx for your kindly reply!
Regards,
Cheng
________________________________
From: Jason McCampbell [mailto:jmccampb...@enthought.com]
Sent: 2011年12月5日 22:48
To: Li, Cheng-B
Cc: ironpython-users@python.org
Subject: Re: FW: How to install Scipy and Numpy for .net offline?
Hi Cheng,
That's odd that the installation isn't working correctly. If you are seeing
any error messages please send them to me and I'll take a look.
You can install the eggs manually. Each egg file is just a ZIP archive with
some defined metadata in it. If you extract the numpy and scipy eggs, you will
get a directory named 'numpy' or 'scipy' plus an 'EGG-INFO' directory. Move
the numpy or scipy directory to the lib/site-packages directory under your
IronPython installation. There are also some DLL files in each egg under
EGG-INFO/prefix/DLLs. Each of the DLL files should be copied to the DLLs
directory under your IronPython install tree.
After that you should be able to use both packages as though you used the
automatic installer.
Please let me know if you have any trouble getting this to work or any other
questions.
Regards,
Jason
From: ironpython-users-bounces+smortaz=microsoft....@python.org
[mailto:ironpython-users-bounces+smortaz
<mailto:ironpython-users-bounces%2Bsmortaz> =microsoft....@python.org] On
Behalf Of cheng-b...@ubs.com
Sent: Saturday, December 03, 2011 2:44 AM
To: ironpython-users@python.org
Subject: [Ironpython-users] How to install Scipy and Numpy for .net
offline?
Hi Everyone,
I am a newbie to Iron python. I find the below link is very useful
since it make the scipy and numpy usable in ironpython
http://www.enthought.com/repo/.iron/
<http://www.enthought.com/repo/.iron/>
Unfortunately the installation is done automatically on line. Due to
some reason I can't install them in this way. I have just download the eggs
from that site. But I don't know what should I do next.. Is there anyone have
encountered the same problem and resolved it?
Regards,
Cheng
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mails are not encrypted and cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities
or related financial instruments.
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users