Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named elementtree #6

Open
patrickwelker opened this issue Nov 5, 2014 · 2 comments
Open

No module named elementtree #6

patrickwelker opened this issue Nov 5, 2014 · 2 comments

Comments

@patrickwelker
Copy link

I'm running the default Python 2.7.6 on OS X 10.10 and have installed the two modules as advised. I still get:

$ AppStoreReviews.py -help
>>> Traceback (most recent call last):
>>>   File "/Users/me/Dropbox/bin/AppStoreReviews.py", line 13, in <module>
from elementtree import ElementTree
>>> ImportError: No module named elementtree

Any tips on how to get this running? I'm a Python novice, just wanting to get your script starting.

@grych
Copy link
Owner

grych commented Nov 5, 2014

You need an “elementtree” module installed: easy_install elementtree

On 05 Nov 2014, at 07:59, Patrick Welker [email protected] wrote:

I'm running the default Python 2.7.6 on OS X 10.10 and have installed the two modules as advised. I still get:

$ AppStoreReviews.py -help

Traceback (most recent call last):
File "/Users/me/Dropbox/bin/AppStoreReviews.py", line 13, in
from elementtree import ElementTree
ImportError: No module named elementtree
Any tips on how to get this running? I'm a Python novice, just wanting to get your script starting.


Reply to this email directly or view it on GitHub #6.

Grych

@ghost
Copy link

ghost commented Jul 28, 2016

from elementtree import ElementTree

to

from xml.etree import ElementTree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants