2007/9/18, Newell Jensen <[EMAIL PROTECTED]>:
> I just installed mono (version 1.2.5) and IPCE (IronPython version 1.1 (1.1)
> on .NET 2.0.50727.42. I am having troubles import the Mono classes. That is
> something like this,
>
> $ mono ipy.exe
> >>> import Mono
>
> give me the error that their is no module Mono. I also tried mono etc. It
> works when I do to import .NET classes such as System etc. I made sure that
> all my dependencies were taken care of. Is there something that I am
> missing? Thanks for your help.
You need to add reference to appropriate assemblies. For example, this
works for me:
$ mono ipy.exe
>>> import clr
>>> clr.AddReference('Mono.Posix')
>>> import Mono
--
Seo Sanghyeon
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com