Le jeudi 24 mai 2007 à 13:20 +0000, [EMAIL PROTECTED] a écrit : > tgwebservices/controllers.py", line 14, in <module> > import xml.etree.cElementTree as et > ImportError: No module named etree.cElementTree > > However, if I try to import cElementTree from the interpreter, it > works: > > >>> import xml.etree.cElementTree as et > >>> dir(et) > ['Comment', 'Element', 'ElementPath', 'ElementTree', 'PI', > 'ProcessingInstruction', 'QName', 'SubElement', 'TreeBuilder', > 'VERSION', 'XML', 'XMLID', 'XMLParser', 'XMLParserError', > 'XMLTreeBuilder', '__builtins__', '__doc__', '__file__', '__name__', > 'dump', 'fromstring', 'iselement', 'iterparse', 'parse', 'tostring'] > > Any idea? Should I report it for a patch to be added? >
yes : the easyest way for you is: easy_install cElementTree it works I just tested it and with cElementTree installed I can import everything from TGWS. Cheers, Florent. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

