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

"No module named pygame" #2

Open
mjdominus opened this issue Aug 11, 2012 · 3 comments
Open

"No module named pygame" #2

mjdominus opened this issue Aug 11, 2012 · 3 comments

Comments

@mjdominus
Copy link

And the readme has no instructions about what that might be or where to find it.

There's a pygame project at http://www.pygame.org , but it doesn't seem to be the right thing.

@hamstu
Copy link

hamstu commented Dec 25, 2012

I know this was written five months ago. But since no one has chimed in, I thought I would.

Yes, it is pygame that you need, and that is the correct website. Try looking for the download page and installing it on your Mac/PC. Let me know if you have any questions. I've got this app working great myself, though I had to get a few other bits and pieces installed first.

@tomtobac
Copy link

tomtobac commented Jul 17, 2017

super late answer, but just install pip and then the both packages need:

  • pygame (sudo pip install pygame --user)
  • PyUSB 1.0+ (sudo pip install pyusb --pre)

@lensdigital
Copy link

It's only used for sound. You can remove this part from code:
if os.path.isfile(wavFile):
if self.hasSound.get() == 1:
pygame.init()
sound = pygame.mixer.Sound("warcry.wav")
sound.play()

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

4 participants