Hello, How can I install pygame (http://pygame.seul.org/ - old site is down) on Webfaction? I'm not familiar with Linux, so I don't know how to compile/config/build/whatever. All I know is it's working on my local Kubuntu installation with "sudo apt-get install python-pygame" but that, of course, fails on Webfaction :) I'm on web123, if it matters. Alexei asked 04 Nov '10, 02:40 Alexei |
I was able to get Pygame + SDL installed by doing the following:
answered 04 Nov '10, 09:14 tie |
On a CentOS 6 server, I was able to install this easily without any source/Makefile modifications:
Of course, this is the bare minimum for pygame. Lots of its dependencies aren't installed:
So, if you need one of those features, install the appropriate dependency first and then set the environment variables so that the compiler can find them. Here's an example that installs the
To go further than this (installing answered 16 Sep '14, 01:10 ryans ♦♦ |
Hi Alexei, Basically you just need to download the application:
Note: You will need to change the python command to the python version you want to use. answered 04 Nov '10, 02:51 klynton Thanks!
Results in:
I found on a (Ubuntu) forum that I also need to install sdl-config and sdl-dev :(
(04 Nov '10, 04:27)
Alexei
|
I suggest you can install SDL using http://code.google.com/p/gheat/wiki/PygameInstallation#Standalone_Install Hope that helps! answered 04 Nov '10, 05:02 neeravk As I said earlier, I don't know how to compile/build/make stuff. That's why my local server is Kubuntu, because it makes it easier to install stuff and allows me to concentrate on coding. Thanks, anyway.
(04 Nov '10, 07:40)
Alexei
|