grych / AppStoreReviews

Apple AppStore reviews scraper
http://www.tg.pl/iPhone/AppStoreReviews/
160 stars 60 forks source link

No module named elementtree #6

Open patrickwelker opened 9 years ago

patrickwelker commented 9 years ago

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 commented 9 years ago

You need an “elementtree” module installed: easy_install elementtree

On 05 Nov 2014, at 07:59, Patrick Welker notifications@github.com 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 https://github.com/grych/AppStoreReviews/issues/6.

Grych

ghost commented 8 years ago

from elementtree import ElementTree

to

from xml.etree import ElementTree