Hi, I am trying to upgrade our debian squeeze server running a django 1.5.1 website from python 2.6 to python 2.7.5. I have been able to upgrade python without any problems. However, now when I try to start our site I get an issue with the PIL library.
In our code we use "import Image" and not "from PIL import Image" which should work according to the documentation (I know there is an issue regarding which is correct and not, but I really don't care about that at the moment). When the site starts I get an error saying: "ImportError: No module named Image" I understand this has something to do with the PIL.pth file not being correctly read in the site-packages library folder, but I don't see why it doesn't get read? I have the same configuration on my development machine (an ubuntu 13.04 installation), but I can use import Image, and so could our server until the upgrade to python 2.7. Anyone have any ideas? Regards, Andréas -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.