[mythtv-users] MythArchive Failing - No module named Image

John Pilkington J.Pilk at tesco.net
Sun Jun 6 21:03:19 UTC 2010


On 06/06/10 19:57, Mike Smith wrote:
> Hi,
>
> I've been trying to get MythArchive working.  I had mythtv 0.22 on FC10 and had
> this problem.  I tried half a dozen suggestions and broke the system, so
> I install FC12 and reinstalled MythTV 0.22.  I removed rpmfusion from my yum
> archives to ensure I only got packages from atrpms.  I verified that the PIL package
> came from atrpms.  It is installed:
>
> [root at mythtv mythtv]# rpm -qa |grep PIL
> PIL-1.1.6-10.fc12.i686
>
> This from my mytharchive.log file:
>
> Traceback (most recent call last):
>    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 72, in<module>
>      import Image, ImageDraw, ImageFont, ImageColor
> ImportError: No module named Image
>
>
> [root at mythtv mythtv]# locate ImageDraw
> /usr/lib/python2.6/site-packages/PIL/ImageDraw.py
> /usr/lib/python2.6/site-packages/PIL/ImageDraw.pyc
> /usr/lib/python2.6/site-packages/PIL/ImageDraw2.py
> /usr/lib/python2.6/site-packages/PIL/ImageDraw2.pyc
> [root at mythtv mythtv]# locate ImageFont
> /usr/lib/python2.6/site-packages/PIL/ImageFont.py
> /usr/lib/python2.6/site-packages/PIL/ImageFont.pyc
> [root at mythtv mythtv]# locate ImageColor
> /usr/lib/python2.6/site-packages/PIL/ImageColor.py
> /usr/lib/python2.6/site-packages/PIL/ImageColor.pyc
>
> [root at mythtv mythtv]# locate Image.py |grep python |grep PIL
> /usr/lib/python2.6/site-packages/PIL/Image.py
> /usr/lib/python2.6/site-packages/PIL/Image.pyc
>
>
> Is there some type of PATH I can set,  like LD_LIBRARY_PATH,  to my MythArchive
> find this Image module?
>
> Mark
>

Hi.  Sorry to see you're still having trouble with this.  Have you tried 
Googling 'python import path'?  I tried 'python import' and 'path' came 
high up the list of suggestions.

I have an f12/atrpms system and don't remember having to specify a path, 
but ymmv.

John P


More information about the mythtv-users mailing list