-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Error. No module named Image #89
Comments
did you |
I can't! This is the end of output: x86_64-linux-gnu-gcc: error: build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o: No such file or directory error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Cleaning up... |
Uhm, if you're on Debian or Ubuntu:
Does this help? Pillow is a strict requirement, that is why you're getting the |
whoa! Thanks for the awesomeness. This trick could be included in the docs btw... |
Good point, will add that |
"apt-get -y install libz-dev libjpeg-dev libfreetype6-dev python-dev" I have Pillow 2.6.1 installed, but when I try to start Django (over Apache using mod_wsgi), I get the following traceback [23/Dec/2015 14:54:14] ERROR [django.request:231] Internal Server Error: / The same code worked on Windows and I was able to see the CAPTCHA in my ModelForms. |
Mac OX: |
I have found many questions on stackoverflow about this, but I guess I'm not smart enough to help myself with any of the solutions they provide. I have followed this documentation http://django-simple-captcha.readthedocs.org/en/latest/usage.html very precisely, but I must be just unlucky.
After adding this:
to urls.py I'm getting this: ImportError at / No module named Image
I have no idea what's going on. The stack trace does not tell me much :)
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/init.py" in include
File "/usr/local/lib/python2.7/dist-packages/captcha/views.py" in
Exception Type: ImportError at /
Exception Value: No module named Image
The text was updated successfully, but these errors were encountered: