Sheena
Sheena

Reputation: 16222

permission denied when importing recapcha

I'm using recapcha on a Django site. It shows up on forms properly, the problem comes in when I try to check if it was entered correctly:

from recaptcha.client import captcha

Gives me the error:

[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/WebError-0.10.3-py2.7.egg/EGG-INFO/top_level.txt'

Google's not helping me on this one. Any ideas how to fix this?

Upvotes: 0

Views: 219

Answers (1)

Human McPerson
Human McPerson

Reputation: 48

Check the write/read permissions on that file, or set full permissions for dist-packages to avoid similar future problem.

Upvotes: 1

Related Questions