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


Groups > comp.lang.python > #100335

2to3 translation problem

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Tony van der Hoff <tony@vanderhoff.org>
Newsgroups comp.lang.python
Subject 2to3 translation problem
Date Sat, 12 Dec 2015 14:42:27 +0000
Lines 13
Message-ID <dd2q2kFo7m4U1@mid.individual.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net N1k8TQb2Xgw9kGvRs5adIgvBpuut2f5wohaSNmkYbI8/8htqXd
Cancel-Lock sha1:Li0eMwccUa9kjLICKX+/aEtIODE=
X-Mozilla-News-Host news://news.individual.net:119
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.4.0
Xref csiph.com comp.lang.python:100335

Show key headers only | View raw


Debian Jessie, python 2.7; python 3.4

I have an application, using pygame for graphics, that works fine under 
python2.7. I have run it through 2to3, but when running the result under 
python 3.4, I get the error :

Traceback (most recent call last):
   File "ppm304.py", line 9, in <module>
     import pygame
ImportError: No module named 'pygame'

So, python 3.4 can't find the library, whilst python 2.7 can.
How do I track down/fix the missing dependency.

Back to comp.lang.python | Previous | NextNext 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