[mythtv-users] Mytharchive python versions

John Pilkington J.Pilk at tesco.net
Thu Aug 29 17:00:58 UTC 2013


On 29/08/13 09:45, John Pilkington wrote:
> On 29/08/13 06:41, Stephen Worthington wrote:
>> On Wed, 28 Aug 2013 21:30:53 -0700, you wrote:
>>
>>> I can't get Mytharchive to start processing television shows on a fresh
>>> installation of MythTV 0.26.0 on Fedora 19 using RPM Fusion and Software
>>> Install.
>>>
>>> ---
>>> mythburn.log:
>>> Traceback (most recent call last):
>>>    File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 85, in
>>> <module> import Image
>>> ImportError: No module named Image
>>> ---
>>>
>>> Software install tells me that both python-2.5.7-4 and python3-3.3.2-6
>>> are installed. The text for the latter says, "Python 3 is a new version
>>> of the language that is incompatible with the 2.x line of releases."
>>>
>>> So something messed up and both Python 2 and 3 were installed. Which
>>> version should I uninstall?
>>>
>>> How could this happen?
>>>
>>> Bob Shanteau
>>
>> First try replacing:
>>
>>    import Image
>>
>> with
>>
>>    from PIL import Image
>>
>> If that does not work, then you probably need to install the Python
>> Imaging Library:
>>
>>    http://www.pythonware.com/products/pil/
>>
>> or maybe Pillow (the fork of PIL).
>>
>> There is likely a Fedora package to do that, but as I do not run
>> Fedora I can not tell you exactly.
>
> In F18 from rpmfusion PIL is in the python-imaging package.  And I think
> there's a ticket that suggests a similar 'from PIL' addition for the
> next three lines as well.  I have that in my local working version but a
> quick hunt hasn't provided a reference.  I have Python 2.7.3
>

It's Ticket #11561, fixed in Master.



More information about the mythtv-users mailing list