Installing Pygame Ubuntu 13.04

I recently installed Ubuntu 13.04 and want to install pygame. I've attempted doing as instructed on the pygame page (using the source code) however I am unable to install the dependencies and I get Unable to locate package for every single one. I then tried, as suggested throughout other forums,

sudo apt-get install python-pygame 

however these were quite old forum posts, talking about Ubuntu 9.x. This did not work, and I got the error: unable to locate package pygame. Can someone please help me with this?

Thanks in advance.

Replay

Execute these commands as root, using sudo in a terminal.

wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.xz
tar -Jxf Python-3.3.0.tar.xz
cd Python-3.3.0
apt-get build-dep python3
./configure
make
make install

After that just run the interpreter:

python3.3

Typing sudo apt-get install python-pygame installs PyGame for Python2. I am unsure on how to install PyGame on Python 3 and I do not believe it is officially supported.

Category: python Time: 2013-05-30 Views: 9

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.142 (s). 12 q(s)