jhgameboy / ironclad

Automatically exported from code.google.com/p/ironclad
Other
0 stars 0 forks source link

import numpy fails with IronPython 2.6.1 for .NET 4.0 #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
debrand@B88SCHWS5113 /cygdrive/c/ironclad-v2.6.0rc1
$ ipy
IronPython 2.6.1 (2.6.10920.0) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import ironclad
>>> import sys
>>> sys.path.append('C:\\Python26\\Dlls')
>>> sys.path.append('C:\\Python26\\Lib')
>>> sys.path.append('C:\\Python26\\Lib\\site-packages')
>>> import numpy

What is the expected output? 
No output with numpy available for use.

What do you see instead?
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python26\Lib\site-packages\numpy\__init__.py", line 130, 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 4, in
<module>
  File "C:\Python26\Lib\site-packages\numpy\lib\type_check.py", line 8, in
<module>
  File "C:\Python26\Lib\site-packages\numpy\core\__init__.py", line 8, in
<module>
  File "C:\Python26\Lib\site-packages\numpy\core\numerictypes.py", line 430, in
<module>
  File "C:\Python26\Lib\site-packages\numpy\core\numerictypes.py", line 426, in
_set_array_types
  File "<string>", line 31, in __new__
AttributeError: Method not found: 'Microsoft.Scripting.Math.BigInteger
IronPython.Runtime.Converter.ConvertToBigInteger(System.Object)'.

What version of the product are you using? On what operating system?
ironclad-v2.6.0rc1 on Windows Server 2003 with IronPython 2.6.1
(2.6.10920.0) on .NET 4.0.30319.1 and numpy 1.3.0

Original issue reported on code.google.com by dbr...@gmail.com on 3 Jun 2010 at 8:54

GoogleCodeExporter commented 9 years ago
For me too with even product and operating system

Original comment by Jerome.P...@gmail.com on 5 Apr 2011 at 8:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got past this using the 'Experimental release for IronPython 2.6 on .Net 4.0. 
code.'

I used Python 2.6.6 / numpy 1.3.0 / IronPython 2.6.2.

Original comment by rin...@gmail.com on 16 Dec 2011 at 10:55