Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Python (http://www.programmingforums.org/forum43.html)
-   -   help!! (http://www.programmingforums.org/showthread.php?t=15645)

ericgrave Apr 18th, 2008 8:31 AM

help!!
 
Can anyone help me out i have python on my computer and pygame (well i think i have) and at the moment am following a book on game programming... and i cannot seem to do anythin rite.... just wondered if there is any way to see if pygame is actually installed on my system correctly?? could anyone help please

Jabo Apr 18th, 2008 10:10 AM

Re: help!!
 
Start>Settings>Control Panel>>Add/Remove Programs and look for a Pygames entry? If it was installed, it should be there.

Freaky Chris Apr 18th, 2008 12:05 PM

Re: help!!
 
Indeed it will be listed there, Also you should note that the latest version of pygame doesn't run with the newest version of Python. You will find that if you are running Python 2.5.2 then you won't get pygame to work.

You should download and install Python 2.4.4 And reinstall PyGame specifying Python 2.4.4's path. Then run the 2.4.4 IDLE, you should find that you don't have any problems then

Cheers,
Chris

Sane Apr 18th, 2008 1:44 PM

Re: help!!
 
A very telling way of checking if a module is properly installed, is by opening Python IDLE or Python Console, and typing "import pygame". If an error appears, Python can't find Pygame.

If the line executes without an error, then type "dir(pygame)". If you don't get a large list of functions, Pygame was not completely installed, but it was found.

ericgrave Apr 18th, 2008 3:23 PM

Re: help!!
 
i did the import pygame nothing happens but i do have new python running so i will try and unistall em and go for the older version of python :D thx

ericgrave Apr 18th, 2008 3:28 PM

Re: help!!
 
lol k i just downloaded python 2.4.4 :S now its sayin somethin about my processor :S lmao but my processor is a core 2 duo so i dont understand whats going off is there ne other lang that can make games?

OpenLoop Apr 18th, 2008 4:39 PM

Re: help!!
 
umm.. I hate to point this out, but if you can't get a simple IDE to work properly, it might be hard for you to write a functional game. The lack of patience part will probably get you

ericgrave Apr 18th, 2008 4:41 PM

Re: help!!
 
lmao :( thats not good then

Freaky Chris Apr 18th, 2008 5:07 PM

Re: help!!
 
openLoop does have a point, however in answer to your question. Java, C, C++. Perhaps you should learn the basics first then work up to games. Just my 2 cents.

Chris

Sane Apr 19th, 2008 10:28 AM

Re: help!!
 
Quote:

Originally Posted by ericgrave (Post 144067)
i did the import pygame nothing happens

By "nothing happens", do you mean no error appears? Because that's the equivilent of "If the line executes without an error". So it sounds like your Pygame was found. Now just follow the last part of my instructions.


All times are GMT -5. The time now is 9:25 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC