[IronPython] Importing NMathCore into Iron Python
Michael Foord
fuzzyman at voidspace.org.uk
Fri Nov 3 00:34:01 CET 2006
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
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.23/513 - Release Date: 02/11/2006
More information about the Ironpython-users
mailing list