Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100352

Re: 2to3 translation problem

From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: 2to3 translation problem
Date 2015-12-12 22:18 +0100
Message-ID <mailman.191.1449955123.12405.python-list@python.org> (permalink)
References (4 earlier) <mailman.184.1449940195.12405.python-list@python.org> <dd33ufFqmvfU1@mid.individual.net> <CAPTjJmqc7URWifS62UZx+gd5jkviDaWhWEdyOaWd+-A_8i=3Ag@mail.gmail.com> <mailman.186.1449942871.12405.python-list@python.org> <dd3e3aFtakhU1@mid.individual.net>

Show all headers | View raw


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@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@tony-lx:~$ python3 -m pip install pygame
>/usr/bin/python3: No module named pip
>
>Hmm, apt-get install python3-pip: OK
>
>tony@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

2to3 translation problem Tony van der Hoff <tony@vanderhoff.org> - 2015-12-12 14:42 +0000
  Re: 2to3 translation problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-12 15:09 +0000
    Re: 2to3 translation problem Tony van der Hoff <tony@vanderhoff.org> - 2015-12-12 16:31 +0000
      Re: 2to3 translation problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-12 16:56 +0000
      Re: 2to3 translation problem Peter Otten <__peter__@web.de> - 2015-12-12 17:59 +0100
      Re: 2to3 translation problem Laura Creighton <lac@openend.se> - 2015-12-12 18:08 +0100
      Re: 2to3 translation problem Laura Creighton <lac@openend.se> - 2015-12-12 18:09 +0100
        Re: 2to3 translation problem Tony van der Hoff <tony@vanderhoff.org> - 2015-12-12 17:30 +0000
          Re: 2to3 translation problem Chris Angelico <rosuav@gmail.com> - 2015-12-13 04:50 +1100
          Re: 2to3 translation problem Laura Creighton <lac@openend.se> - 2015-12-12 18:54 +0100
            Re: 2to3 translation problem Tony van der Hoff <tony@vanderhoff.org> - 2015-12-12 20:24 +0000
              Re: 2to3 translation problem Laura Creighton <lac@openend.se> - 2015-12-12 22:18 +0100
          Re: 2to3 translation problem Terry Reedy <tjreedy@udel.edu> - 2015-12-12 15:17 -0500

csiph-web