Just in case, the recommended way to portably import PIL:

try:
    from PIL import Image
except ImportError:
    import Image

Depending on PIL version, and the way it's installed, one or the other
will work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1112106

Title:
  gwibber-service crashed with ImportError in /usr/lib/python2.7/dist-
  packages/gwibber/microblog/util/resources.py: No module named Image

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/1112106/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to