You are not logged in.

#1 2012-03-03 16:45:59

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Eclipse / PyDev can't import xml.etree.ElementTree module

Hi,

In a python shell I can import the xml.etree.ElementTree module, but in Eclipse / PyDev I get an error message:

ImportError: No module named etree.ElementTree


I tried to add the /usr/lib/python3.2/xml directory to Python interpreter libraries, but no avail. Any idea what's wrong?

Offline

#2 2012-03-03 17:36:43

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Eclipse / PyDev can't import xml.etree.ElementTree module

Well, import xml.etree.ElementTree works in python shell, while in Eclipse I only need  import etree.ElementTree, no xml tag.
i don't understand, but I'm happy at least. smile

Offline

Board footer

Powered by FluxBB