I installed Yahoo BOSS (it's a python installation that allows you to use their search features). I followed everything perfectly. However, when I run the example, to confirm that it works, I got this:
$python ex3.py
Traceback (most recent call last):
File "ex3.py", line 16, in ?
from yos.yql import db
File "/usr/lib/python2.4/site-packages/yos/yql/db.py", line 44, in ?
from yos.crawl import rest
File "/usr/lib/python2.4/site-packages/yos/crawl/rest.py", line 13, in ?
import xml2dict
File "/usr/lib/python2.4/site-packages/yos/crawl/xml2dict.py", line 6, in ?
import xml.etree.ElementTree as ET
ImportError: No module named etree.ElementTree
Is there any way to fix this? I did exactly as stated in the documentation, and it was installed on a fresh box.
Okay, people have stated that Python 2.5 should be used. However, everything currently uses Python 2.4, what do I do, to get this YAHOO BOSS to work?
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2