PIL on a RPI
#1
Hi guys,
I created a little add-on that will re -size some movie thumbnails, this is very important to me since i cant tell the Xbmc to re-size a thumbnail before send to me over JSON.
The Add-on is working fine for windows but when i tested on a Raspberry Pi i get this message
Quote:ImportError: No module named PIL
I tried a suggestion that i get on google to install PIL, but don´t work for me
Quote:sudo apt-get install python-imaging

Addon.xml
Quote:import addon="script.module.pil" />

Quote:import PIL
from PIL import Image
thanks in advance
Best regards
Clayton
Reply
#2
Could you just add it under resources/lib?
Reply
#3
Thanks man. I tried already, but only works on Windows, on the Raspbmc i get the same error. I have another plugin that i did this, for Twisted, and works fine. I am trying to fix this for hours already.
Reply
#4
From the command line(ie ssh)
Code:
sudo apt-get install python-imaging
Reply

Logout Mark Read Team Forum Stats Members Help
PIL on a RPI0