1

Just to clear things up, http://stackoverflow.com/questions/21589724/include-pygame-in-your-programm didn't work, as I have a Mac.

Ok. Now that's over, I can begin.

I'm making a game in python and I'm using the pygame module. The problem is, the vast majority of people don't already have pygame.

How do I include pygame module, without people having to install pygame manually, without using py2app or anything like that?

1 Answer 1

0

Try putting the Pygame module or a copy of it in a folder alongside the program so that when someone downloads your game, they download Pygame with it. You may be able to use the OS module to find the path of Pygame ( if needed ) and import it from that. Hope this helps.

Use this thread to help you out with finding the module path. How to retrieve a module's path?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.