How to install PIL
#1
I have xbmc on ubuntu hardy and the navi-x script fails to load the Image library with the following messages in the xbmc log:

22:37:28 T:2976885648 M: 72306688 INFO: import Image, ImageFile
22:37:28 T:2976885648 M: 72306688 INFO: ImportError
22:37:28 T:2976885648 M: 72306688 INFO: :
22:37:28 T:2976885648 M: 72306688 INFO: No module named Image

Pyton imaging is installed on my system, but I don't know how to install it where xbmc python can use it.
Reply
#2
You will need a copy of PIL in your script directory under resources/lib. In addition you will need to add that directory to the current sys.path before doing the import. Check out the Apple Movie Trailers II plugin in xbmc addons to get a better idea.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
How to install PIL0