Reputation: 305
I have downloaded and installed pygame and I know where it is (/usr/lib/python2.7/dist-packages). I am trying to get the program consisting of the line 'import pygame' to recognize its existence but I keep getting 'ImportError: No module named pygame'. How would I get it to work?
Upvotes: 0
Views: 823
Reputation: 896
The installation packages for pygame are incompatible with python 3.x However, the vast majority of the pygame modules have been ported to python 3.x, so really it's simply a matter of moving the Pygame modules to your python 3.x dist-packages.
The scrap, _movie, surfarray for Numeric, and threads modules are the ones that have NOT been ported yet.
Upvotes: 1