Open GoogleCodeExporter opened 8 years ago
numpy requires IronPython to be run with frames support. Were you running ipy
with -X:Frames or -X:FullFrames on the command line?
Original comment by glenn.k....@gmail.com
on 19 Jun 2010 at 6:00
glenn.k....@gmail.com,:
I uesd -X:Frames to run ipy.exe (Ironpython for .net4)
and
import numpy
but
>>> import script
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "F:\My Documents\Visual Studio 2010\Projects\ex_vs10_cs python\test6\scri
pt.py", line 8, in <module>
File "d:\Python26\lib\site-packages\numpy\__init__.py", line 132, in <module>
File "d:\Python26\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>
File "d:\Python26\lib\site-packages\numpy\lib\__init__.py", line 4, in <module
>
File "d:\Python26\lib\site-packages\numpy\lib\type_check.py", line 8, in <modu
le>
File "d:\Python26\lib\site-packages\numpy\core\__init__.py", line 8, in <modul
e>
File "d:\Python26\lib\site-packages\numpy\core\numerictypes.py", line 435, in
<module>
File "d:\Python26\lib\site-packages\numpy\core\numerictypes.py", line 431, in
_set_array_types
File "<string>", line 31, in __new__
AttributeError: Method not found: 'Microsoft.Scripting.Math.BigInteger IronPytho
n.Runtime.Converter.ConvertToBigInteger(System.Object)'.
>>>
Original comment by begtost...@gmail.com
on 22 Jun 2010 at 12:07
glenn.k....@gmail.com,:
Thanks a lot.
Ironpython 2.6 is OK
but in ironpython 2.6 for .net4, there are some problems were not sovled.
-X:Frames is no use for it.
Original comment by begtost...@gmail.com
on 22 Jun 2010 at 12:43
Sorry about that. We will be looking at .Net 4 compatibility soon.
Original comment by glenn.k....@gmail.com
on 22 Jun 2010 at 12:58
Hitting an exception (Using ironclad 2.6.0RC1 and numpy 1.5.0):
C:\Program Files (x86)\IronPython 2.6>ipy -X:Frames
IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.4952
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append("c:/python26/dlls")
>>> sys.path.append("c:/python26/lib")
>>> sys.path.append("c:/python26/lib/site-packages")
>>>
>>> import ironclad
>>>
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\python26\lib\site-packages\numpy\__init__.py", line 136, in <module>
File "c:\python26\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>
File "c:\python26\lib\site-packages\numpy\lib\__init__.py", line 17, in <module>
File "c:\python26\lib\site-packages\numpy\lib\npyio.py", line 6, in <module>
File "c:\python26\lib\site-packages\numpy\lib\format.py", line 145, in <module>
UnicodeDecodeError: ('unknown', u'\x93', 0, 1, '')
>>>
>>>
>>> ironclad.__version__
'2.6.0RC1'
>>>
C:\Python26>python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.5.0'
>>>
Original comment by markhir...@gmail.com
on 28 Sep 2010 at 8:32
Original issue reported on code.google.com by
begtost...@gmail.com
on 19 Jun 2010 at 1:36