OoO En cette fin de matinée radieuse du dimanche 24 août 2008, vers 11:55, piotr@users.alioth.debian.org disait : > Date: Sunday, August 24, 2008 @ 09:55:21 > Author: piotr > Revision: 6347 > add python-pkg-resources to Depends (recaptcha/__init__.py needs it) Thanks for spotting it. However, this file is not shipped by setuptools. This is not really important since python-support will ship an empty __init__.py that, from my understanding, does the same thing. But I have another problem: Python 2.5.2 (r252:60911, Aug 6 2008, 09:17:29) [GCC 4.3.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from recaptcha.client import captcha Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named client >>> import recaptcha >>> recaptcha.__path__ ['/usr/lib/python2.5/site-packages/recaptcha'] This path does not exist. This explains why the first import fails. However, I don't have any clue why Python thinks that the path of the module is /usr/lib/python2.5/site-packages/recaptcha instead of /var/lib/python-support/python2.5/recaptcha. Any hint? -- if (user_specified) /* Didn't work, but the user is convinced this is the * place. */ 2.4.0-test2 /usr/src/linux/drivers/parport/parport_pc.c
Attachment:
pgpSIfPWPBSwb.pgp
Description: PGP signature