I am relatively new to linux and am trying to install the pygame dev environment for python. When I run the setup.py it says that I need to install the following dependencie
Mine is Fedora-20, and I found this worked:
sudo yum install python-opengl
sudo yum install python-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL-devel smpeg-devel numpy subversion portmidi-devel
Downloaded the smpeg from the website:
http://freecode.com/projects/smpeg
and did a local install:
sudo yum localinstall smpeg-0.4.5-2.1.x86_64.rpm
sudo yum install pygame pygame-devel
this steps work for me on Ubuntu 16.04:
$ sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev
$ sudo pip3 install pygame