On 12/12/2015 14:42, Tony van der Hoff wrote:
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.

This isn't a 2to3 translation problem. You've installed pygame under 2.7 at some point, repeat the process for 3.4. I've no idea how you'd do that on Debian Jessie but on Windows it'd be "pip3.4 install pygame".

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to