2to3 translation problem

Tony van der Hoff tony at vanderhoff.org
Sat Dec 12 15:24:10 EST 2015


On 12/12/15 17:54, Laura Creighton wrote:
> In a message of Sun, 13 Dec 2015 04:50:43 +1100, Chris Angelico writes:
>> On Sun, Dec 13, 2015 at 4:30 AM, Tony van der Hoff <tony at vanderhoff.org> wrote:
>>> Thanks, Laura, and others who have replied. You're right; python-3-pygame
>>> exists in unstable, but has not yet made it to jessie, even in backports.
>>>
>>> So, I'll stick with python 2.7 for the time being; really no hardship :)
>>
>> The easiest solution is simply:
>>
>> python3 -m pip install pygame
>>
>> Don't worry about it not being in the Jessie repo - you can always
>> grab things using pip.
>>
>> ChrisA
>
> What Chris said. :)
>
> If you are about to move your life from being python2.7 based to
> being 3.x, you are not going to be able to depend on things getting
> to jessie in a timely fashion.  So you will be doing this a whole lot.

No:
tony at tony-lx:~$ python3 -m pip install pygame
/usr/bin/python3: No module named pip

Hmm, apt-get install python3-pip: OK

tony at tony-lx:~$ python3 -m pip install pygame
Downloading/unpacking pygame
   Could not find any downloads that satisfy the requirement pygame
   Some externally hosted files were ignored (use --allow-external 
pygame to allow).
Cleaning up...
No distributions at all found for pygame
Storing debug log for failure in /home/tony/.pip/pip.log

I really can't be bothered...

Thanks for the hints.



More information about the Python-list mailing list