In IronPython, clr is a builtin module, so this error should theoretically be 
impossible. How did you run the script when it gave you the "Can not import 
module clr" error?

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Joshua Kramer
Sent: Friday, February 12, 2010 10:09 AM
To: [email protected]
Subject: [IronPython] Minor Weirdness with 2.6.1 RC1


Hello,

I noticed some minor weirdness with RC1.  I un-installed 2.6 and installed 
2.6.1 RC1, then went to run a database backup script I have.  The first 
line in the script is...

import clr

When I ran the script, it said, "Can not import module clr".  Tried this a 
few times with the same result.  Then, I ran ipy from the command line, 
and tried 'import clr' at the prompt.  Everything was working fine after 
that, even across reboots.

Cheers,
-JK
_______________________________________________
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

Reply via email to