[IronPython] ImportError: No module named clr

Michael Foord fuzzyman at voidspace.org.uk
Thu May 28 17:03:21 CEST 2009


shreyas waghmare wrote:
> i recently installed mono and iron python on my Linux machine.
>
> on iron python interactive prompt (using command ipy)  i typed "import 
> clr" and it gave me an error
> "ImportError: No module named clr"
>

Can you do "which ipy" to make sure that is really starting IronPython 
(and not IPython for example) - clr is a builtin module in IronPython 
and should always be available.

Michael

>
> I just installed mono on my machine and iron python (ipy) got 
> installed on it ( may because it is a part of mono 2.2 package)
>
> I think the error is coming as it is not able to find clr module. I 
> was not able to find it after doing grep in that directory.
>
> Am i doing the things correctly? or missing something?
>
> Please help
>
> Thanks in advance
>
> Shreyas
>
>
> ------------------------------------------------------------------------
> Explore and discover exciting holidays and getaways with Yahoo! India 
> Travel Click here! 
> <http://in.rd.yahoo.com/tagline_Travel_1/*http://in.travel.yahoo.com/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>   


-- 
http://www.ironpythoninaction.com/




More information about the Ironpython-users mailing list