Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not initializing: only a black pygame #3

Closed
fredguth opened this issue Apr 8, 2019 · 5 comments
Closed

not initializing: only a black pygame #3

fredguth opened this issue Apr 8, 2019 · 5 comments

Comments

@fredguth
Copy link

fredguth commented Apr 8, 2019

Hi,
I did clone, pip install pygame and python3 main.py.
A black square opens a window with the pygame icon. It seems to be loading something, but eventually does not show anything.
I wonder if it is a problem with the version of pygame, I am using latest pygame (1.9.5) . Any idea on why this is not loading?

Thanks

@mdeyo
Copy link
Owner

mdeyo commented Apr 8, 2019

@fredguth Quick response: Check out the forked project from issue #2 with your version of pygame. I hope to have time later this week to look into why my project isn't working with it.

@fredguth
Copy link
Author

The fork did not work as well (tryied in different machine, ubuntu).

@mdeyo
Copy link
Owner

mdeyo commented Apr 10, 2019

Is your pip install pygame for python3?

Another way to ask the same question: What do you get when you type pip --version?

If it says something like (python 2.7) then you need to use pip3 install pygame instead.

It looks like I also have pygame version 1.9.5 and it's working. This is what you should get:

>> python3 main.py 
pygame 1.9.5
Hello from the pygame community. https://www.pygame.org/contribute.html

(Closing the issue was an accident)

@mdeyo mdeyo closed this as completed Apr 10, 2019
@mdeyo mdeyo reopened this Apr 10, 2019
@fredguth
Copy link
Author

Ok, I uninstalled pygame and installed again making sure it was python 3 and pip3 (they were default, anyway). This time it worked, thanks!

@mdeyo
Copy link
Owner

mdeyo commented Apr 13, 2019

Sounds great! Let me know if you need any more help.

@mdeyo mdeyo closed this as completed Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants