Error in InstallationFaq?

Asked by Jim Garrison

http://bazaar-vcs.org/InstallationFaq

In the section titled "Checking for the installation of python modules", one instruction is:

    python -c "import cElementTree"

On my system (Fedora 9 w/Python 2.5.1) this fails. It works if I use "import xml.etree.cElementTree" instead.

Is this a buglet in the faq, or is there something wrong on my system?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Matt Nordhoff (mnordhoff) said :
#1

It's not /wrong/, exactly, just out-of-date or incomplete. If you
install cElementTree manually, it'll be under the name "cElementTree".
Python 2.5 added it to the standard library, under the name
"xml.etree.cElementTree". (Bazaar will use either one.)

You do have a point, though. Someone should update the instruction.

Can you help with this problem?

Provide an answer of your own, or ask Jim Garrison for more information if necessary.

To post a message you must log in.