Closed GoogleCodeExporter closed 9 years ago
You need to install PIL (Python Imaging Library). I guess that on Ubuntu it's
"python-imaging".
Original comment by nitanovi...@gmail.com
on 4 Feb 2013 at 7:18
Like I've said, I thought it was a dependency issue so python-imaging was the
first thing I've checked (it was already installed). Any other ideas?
Original comment by nilarimo...@gmail.com
on 4 Feb 2013 at 7:19
Hmm, I don't know what could be the problem...
Could you try to run python2 from terminal and then execute:
import Image
manually? Thanks
Original comment by nitanovi...@gmail.com
on 4 Feb 2013 at 7:23
Mmm yup, it seems something is wrong with Python in Ubuntu 13.04 because:
andrei@ubuntu-desktop:~/Downloads$ python2
Python 2.7.3 (default, Jan 26 2013, 15:27:43)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Image
>>>
sudo apt-get install python-imaging
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-imaging is already the newest version.
Original comment by nilarimo...@gmail.com
on 4 Feb 2013 at 7:26
I've found a fix, apparently because of a recent python-imaging change "import
Image" fails in all apps:
https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/1112496
But this works:
import PIL.Image
Original comment by nilarimo...@gmail.com
on 4 Feb 2013 at 7:28
Apropo, puteam sa vorbim si pe Facebook, ma ai in lista, dar am zis sa vada si
altii in caz ca au aceeasi problema :)
Original comment by nilarimo...@gmail.com
on 4 Feb 2013 at 7:29
I was also reading a Launchpad bug and "import PIL.Image" was the proposed
solution, too. As Ubuntu 13.04 is still in beta, I'll wait to see if this is
fixed until the final release or I'll update the TV-Maxe code according to this
change in this distribution.
Original comment by nitanovi...@gmail.com
on 4 Feb 2013 at 7:32
Damn, and it's more than needs to be updated, e.g: mageDraw, ImageFont ->
PIL.ImageDraw, PIL.ImageFont, etc.
Original comment by nilarimo...@gmail.com
on 4 Feb 2013 at 7:36
The bug has been fixed by the Ubuntu devs by creating a new package:
python-imaging-compat - I think it's installed automatically but if it's
not, the PPA packages for Raring should depend on it...
Original comment by nilarimo...@gmail.com
on 10 Feb 2013 at 9:21
[deleted comment]
Thank you for your investigation. I will add python-imaging-compat as a
dependecy for 13.04 package.
Original comment by vene...@gmail.com
on 18 Feb 2013 at 8:11
Original issue reported on code.google.com by
nilarimo...@gmail.com
on 4 Feb 2013 at 7:16