Jithin Pavithran Jithin Pavithran - 2 years ago 322
Python Question

" ImportError: cannot import name CaptchaFields " - Django

I cloned a working project from BitBucket and tried:

python manage.py runserver

I'm getting the following error:

from captcha.fields import CaptchaField

ImportError: cannot import name CaptchaField

I did install captcha using
pip install captcha
and it installed without any error.

Following is my captcha folder ( installation directory ) contents

enter image description here

I tried installing
manually but didn't help.

I couldn't find
zip file to install it manually.

Answer Source

I had similar problem.
Using Django 1.8.2, Python 2.7 and pip 7.0.1
and command pip install captcha solved it.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download