Jump to content

Pygames Not Working

piraticus

I downloaded a few pygames, and launched their .py files, and I will see a small black box (command line) show up for half a second, then it will disappear.

 

Any help?

Link to comment
Share on other sites

Link to post
Share on other sites

Have you got pygame installed? Also is python in the PATH file.

Please remember to follow your posts so you get notifications of people replying. If you want to reply to me directly, and I am not the author of the post, quote me.

Link to comment
Share on other sites

Link to post
Share on other sites

Have you got pygame installed? Also is python in the PATH file.

Yes I have pygame and what is the PATH file?

Link to comment
Share on other sites

Link to post
Share on other sites

Yes I have pygame and what is the PATH file?

Just google, how to put python into the path variable. It's hard to explain but it means you can run python in CMD

Please remember to follow your posts so you get notifications of people replying. If you want to reply to me directly, and I am not the author of the post, quote me.

Link to comment
Share on other sites

Link to post
Share on other sites

You can check if Python is in you PATH file by shift+right clicking on an empty part of your directory and then choosing "Open command windows here". 

You will now get that black box with white letters.

Then enter "python" and report what result you get.

 

qP6kyGd.png

2KXnK4w.png

-Insert witty comment here-

Link to comment
Share on other sites

Link to post
Share on other sites

You can check if Python is in you PATH file by shift+right clicking on an empty part of your directory and then choosing "Open command windows here". 

You will now get that black box with white letters.

Then enter "python" and report what result you get.

 

qP6kyGd.png

2KXnK4w.png

This is @piraticus from a different account, I typed in python and got:  'python' is not recognized as an internal or external command, operable program or batch file. 

Link to comment
Share on other sites

Link to post
Share on other sites

This is @piraticus from a different account, I typed in python and got:  'python' is not recognized as an internal or external command, operable program or batch file. 

You can then download python from the official website. The games should state which version it uses. Either 2.7.10 or 3.4.3.

 

Then follow the steps on this page to add it to your PATH.

-Insert witty comment here-

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×