I was trying to import pygames from python using Canopy firstly and after no success I tried from terminal and in both cases I get:
import pygame Traceback (most recent call last): File "", line 1, in ImportError: No module named pygame
I did:
sudo apt-get install python-pygame
and in a desperate act also did the following:
- sudo apt-get install mercurial python3-pip libfreetype6-dev
- sudo apt-get build-dep python-pygame
- sudo pip3 install hg+http://bitbucket.org/pygame/pygame
and when I check on /usr/lib/python2.7 I am able to see a folder named pygame (/usr/lib/python2.7/dist-packages/pygame)
Can someone guide me on how to fix this problem?, thank you in advance