![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Posts: 9
Rep Power: 0
![]() |
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
|
|
|
|
|
|
#2 |
|
Not a user?
Join Date: Sep 2007
Posts: 255
Rep Power: 1
![]() |
Re: help!!
Start>Settings>Control Panel>>Add/Remove Programs and look for a Pygames entry? If it was installed, it should be there.
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
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
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,827
Rep Power: 5
![]() |
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. |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Apr 2008
Posts: 9
Rep Power: 0
![]() |
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
thx |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Apr 2008
Posts: 9
Rep Power: 0
![]() |
Re: help!!
lol k i just downloaded python 2.4.4
now its sayin somethin about my processor 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? |
|
|
|
|
|
#7 |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
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
|
|
|
|
|
|
#8 |
|
Newbie
Join Date: Apr 2008
Posts: 9
Rep Power: 0
![]() |
Re: help!!
lmao
thats not good then |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
|
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
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
|
|
#10 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,827
Rep Power: 5
![]() |
Re: help!!
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.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|