Hi
I have a python-script (youtube-dl), that I will run in TC.
When the script tries to import hashlib.py, it fails with this error:
tc@box:/usr/local/bin$ /mnt/hda1/bin/youtube-dl http://www.youtube.com/watch?v=7
3dvrir5kig
Traceback (most recent call last):
File "/mnt/hda1/bin/youtube-dl", line 22, in <module>
import urllib2
File "/usr/local/lib/python2.6/urllib2.py", line 93, in <module>
import hashlib
File "/usr/local/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/usr/local/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
tc@box:/usr/local/bin$
I have installed python.tcz - I hink it is python version 2.6.5
Does anyone know how to solve this problem?
\\Batnas
EDIT:
after further investigation, it seems to me, that /usr/lib/python2.6/lib-dynload/_hashlib.so is missing
Is it correct?
Sorry, it was present