Skip to content

Compiling on Windows

Dan Lawrence edited this page Feb 14, 2023 · 13 revisions

The Basic Steps

  1. Clone/Checkout pygame-ce from github.

  2. Install Visual Studio Build tools

  3. Open a "Developer Command Prompt":

    image

  4. cd into the pygame-ce directory on your PC.

  5. enter the following commands:

set DISTUTILS_USE_SDK=1
set MSSdk=1
python -m buildconfig --download
pip install .
It should look a bit like this:

![image](https://user-images.githubusercontent.com/13382426/218819825-d5e0f4f2-7318-4c97-8b42-a03fb99fd874.png)