Pregunta

I am trying to install django-recaptcha. I typed

pip install django-recaptcha==0.0.4

I am not able to install it. The error i face is this:

error: could not create '/Library/Python/2.7/site-packages/captcha': Permission denied

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/Users/Projects/drinker/build/django-recaptcha/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/x6/1rbbd59j1w7dx74lrrs181vh0000gn/T/pip-axdzU5-record/install-record.txt failed with error code 1 in /Users/Projects/drinker/build/django-recaptcha

I added 'captcha' to the settings.py but it gave me this error:

Error: No module named captcha

Need some help on this....

¿Fue útil?

Solución

Try installing as sudo user as it clearly says "permission denied",

sudo pip install django-recaptcha==0.0.4

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top