[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?


 >>> import clr
 >>> clr.AddReferenceToFile("NMathCore.dll")
 >>> clr.References
(( mscorlib,  .... ),
(System,  ...     ),
(NMathCore,  Version=,  Culture=neutral, 
 >>>  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