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


Groups > comp.lang.python > #100352

Re: 2to3 translation problem

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: 2to3 translation problem
Date Sat, 12 Dec 2015 22:18:26 +0100
Lines 56
Message-ID <mailman.191.1449955123.12405.python-list@python.org> (permalink)
References <dd2q2kFo7m4U1@mid.individual.net> <mailman.180.1449932994.12405.python-list@python.org> <dd30fqFpqmiU1@mid.individual.net> <n4hjq9$ppe$1@ger.gmane.org> <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>
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de /fkA6EoQW/RO/UXS4A/SqQ1FmlNXn5a2MYj+Jq1dPv8A==
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'debug': 0.04; 'ignored': 0.05; 'python3': 0.05; 'right;': 0.07; 'subject:translation': 0.07; 'cc:addr:python-list': 0.09; '(use': 0.09; 'creighton': 0.09; 'fashion.': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'satisfy': 0.09; 'warn': 0.09; 'python': 0.10; '2.7': 0.13; 'package,': 0.13; '>on': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'pygame': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'repo': 0.16; 'said.': 0.16; 'skip:> 20': 0.16; 'subject:2to3': 0.16; 'wrote:': 0.16; 'exists': 0.18; 'laura': 0.18; 'stick': 0.18; '>>>': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'sorry,': 0.22; 'subject:problem': 0.22; 'am,': 0.23; 'dec': 0.23; 'forgot': 0.23; 'sat,': 0.23; 'thanks,': 0.24; 'module': 0.25; 'install': 0.25; 'van': 0.26; 'chris': 0.26; 'timely': 0.27; '13,': 0.29; 'lot.': 0.29; 'python2.7': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; "can't": 0.32; 'getting': 0.33; 'skip:/ 20': 0.33; "i'll": 0.33; 'skip:- 10': 0.34; '(for': 0.34; 'so,': 0.35; 'could': 0.35; 'downloads': 0.35; 'easiest': 0.35; 'skip:> 10': 0.35; 'but': 0.36; 'hosted': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'being': 0.37; 'requirement': 0.37; 'charset :us-ascii': 0.37; 'things': 0.38; 'doing': 0.38; 'log': 0.38; 'several': 0.38; 'files': 0.38; 'some': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'you.': 0.64; 'grab': 0.64; 'life': 0.67; 'apt-get': 0.84; 'chrisa': 0.84; 'header:In-reply-to:1': 0.84; 'pip': 0.84; 'replied.': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1449955111; bh=xKVlFC/c0oENamNT6TjbhGwtsv5Y3+MuO5oaUUCsn9U=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=mcEBD6RrKBD/l4C8HIMWW4moeT9uOflaGRB+ioZV4EAov/2DtHLm0ojHTqA7C06et mWHvYH5SDMaBWvILmCsV54YiRA2bBebvFCaj5QtFXCuQMhB6oSLakfAwEyJr+a84oL q6Ch9R7IoOB4YSDlc0lBwx5mcdJkIB/TtOzOrQ9I=
In-reply-to <dd3e3aFtakhU1@mid.individual.net>
Comments In-reply-to Tony van der Hoff <tony@vanderhoff.org> message dated "Sat, 12 Dec 2015 20:24:10 +0000."
Content-ID <16116.1449955106.1@fido>
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sat, 12 Dec 2015 22:18:31 +0100 (CET)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:100352

Show key headers only | 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