What steps will reproduce the problem?
1. run calais.py with python 2.4
What is the expected output? What do you see instead?
expected output is successful completion, instead is an exception due to
hashlib module not being found
What version of the product are you using? On what operating system?
revision 5 of python-calais, python 2.4, fedora core 5
Please provide any additional information below.
using an alternative hash function for the content_id method will fix it:
try:
import hashlib
except:
return hex(hash(text))
or whatever..
Original issue reported on code.google.com by jasonmadams on 30 May 2008 at 2:10
Original issue reported on code.google.com by
jasonmadams
on 30 May 2008 at 2:10