Skip to content
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

PIL import error while following demo instructions #168

Closed
smcoll opened this issue May 4, 2012 · 1 comment
Closed

PIL import error while following demo instructions #168

smcoll opened this issue May 4, 2012 · 1 comment

Comments

@smcoll
Copy link

smcoll commented May 4, 2012

Following the instructions at http://tangentlabs.github.com/django-oscar/#takeapeek, i ran into a problem with this line:

./manage.py oscar_import_catalogue_images data/books-images.tar.gz --settings=settings_simple

  File "/home/.../django-oscar/oscar/apps/catalogue/utils.py", line 7, in <module>
    from PIL import Image as PImage
ImportError: No module named PIL

Changed that line to import Image as PImage and it worked.

@codeinthehole
Copy link
Contributor

Good one. I've bee puzzled about that PIL issue for a while. Strangely, if you uninstall and reinstall PIL, then the original code works fine.

I've committed your suggestion (tangentlabs@373400f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants