2to3 translation problem
Laura Creighton
lac at openend.se
Sat Dec 12 16:18:26 EST 2015
In a message of Sat, 12 Dec 2015 20:24:10 +0000, Tony van der Hoff writes:
>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.
Sorry, I forgot to warn you. Debian, in its wisdom breaks python
up into several pieces, and so if you install python as a debian
package, you have to install the ability to use pip separately.
apt-get install python-pip (for 2.x)
apt-get install python3-pip (for 3.x)
Laura
More information about the Python-list
mailing list