Michael, You are correct. I should have been using CenterSpace.NMath.Core for the namespace. Thank you for your reply. Howard
Michael Foord wrote: > Howard R. Hansen wrote: > >> 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? >> >> >> > The namespace isn't always the same name as the assembly. > > According to this : > > > http://www.centerspace.net/doc/NMath/Core/ref/CenterSpace.NMath.CoreHierarchy.html > > it could be CenterSpace.NMath.Core - try that. > > Michael Foord > http://www.voidspace.org.uk/python/index.shtml > > >> 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 >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> >> > > > > _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
