[IronPython] Importing NMathCore into Iron Python

Howard R. Hansen hrh1818 at comcast.net
Wed Nov 1 05:11:46 CET 2006


When I use the following procedure to import a dynamic link math library 
into Iron Python I get the error show in the last 4 lines of the 
procedure. What am I doing wrong and what should I do to import the 
NMathCore math library into Iron Python?

Howard

 >>> import clr
 >>> clr.AddReferenceToFile("NMathCore.dll")
 >>> clr.References
(( mscorlib,  .... ),
(System,  ...     ),
(NMathCore,  Version=2.2.3.0,  Culture=neutral, 
PublicKeyToken=2064076cc7895eab))
 >>>  from NMathCore import *
Traceback (most recent call last):
   File, line 0, in (stdin)##15
   File, line 0, in __import__##7
ImportError: No module named NMathCore



More information about the Ironpython-users mailing list