[mythtv-users] Knoppmyth Mytharchive Python issues

Paul Harrison mythtv at sky.com
Wed May 6 17:10:42 UTC 2009


Mike Daugird wrote:
> Hello, I read the following page:
> http://mythtv.org/wiki/Mytharchive#MythArchive_doesn.27t_work._It_gets_t
> o_the_log_viewer_and_just_sits_there._What.27s_wrong.3F
>
> 	From my mythburn.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
>
> 	Now I can find these files on my sytem
> root at mythtvhostname:~# locate ImageDraw.py
> /usr/lib/python2.4/site-packages/PIL/ImageDraw.py
> /usr/lib/python2.4/site-packages/PIL/ImageDraw.pyc
> /usr/share/pyshared/PIL/ImageDraw.py
>
> root at mythtvhostname:~# locate Image.py
> /usr/lib/python2.4/email/MIMEImage.py
> /usr/lib/python2.4/email/MIMEImage.pyc
> /usr/lib/python2.4/site-packages/PIL/Image.py
> /usr/lib/python2.4/site-packages/PIL/Image.pyc
> /usr/lib/python2.5/site-packages/vipsCC/VImage.py
> /usr/share/pyshared/PIL/Image.py
>
>   
<snip>
> 	I have both 2.4 and 2.5 version of python on this system. Can
> someone help me configure python to let mytharchive find the python
> modules it needs?
> thansk
>   

Could it be you are using python 2.5 but only have the PIL modules for
version 2.4 installed?

Paul H.


More information about the mythtv-users mailing list