
17 Aug
2006
17 Aug
'06
9:27 a.m.
On 8/17/06, Leslie Katz <lesliek(a)ozemail.com.au> wrote: [snipped]
Traceback (most recent call last): File "/usr/bin/youtube-dl", line 150, in ?
urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor())) AttributeError: 'module' object has no attribute 'HTTPCookieProcessor'
I checked the contents of the file youtube-dl and line 150 of it is identical to the third of the four lines I just set out.
Even you installed python2.4, the default python version of your system is still 2.3. That's the reason of this error. There are two ways to fix it. 1. run "python2.4 /usr/bin/youtube-dl URL" 2. open the file and change the first line from "#!/usr/bin/env python" to "#!/usr/bin/python2.4" Good Luck. -- Best Regards Carlos