-
-
Notifications
You must be signed in to change notification settings - Fork 159
Compiling on Windows
Dan Lawrence edited this page May 31, 2024
·
13 revisions
-
Clone/Checkout pygame-ce from github.
-
Install Visual Studio Build tools. Make sure you Install the "Desktop Development with C++" option (including optional components) to get the latest Visual Studio C compiler. See:
Alternatively you can also install the MinGW compiler.
-
Open a Command Prompt/Terminal window. I personally create a PyCharm project and use the one built into PyCharm, but there are many options at this point.
-
If not there already,
cd
into the pygame-ce directory from where you checked it out on your PC in step 1. -
Enter the following command:
pip install .
-
It should look a bit like this when it starts going:
That's it! You should be able to run the tests and examples now.