Skip to content

Instantly share code, notes, and snippets.

@kbandla
Created August 13, 2024 09:29
Show Gist options
  • Save kbandla/5c1cf900baf8bcdb56b87e333cd6ce8f to your computer and use it in GitHub Desktop.
Save kbandla/5c1cf900baf8bcdb56b87e333cd6ce8f to your computer and use it in GitHub Desktop.
Build Python for Windows

Build Python 3.13 on Windows

The build itself is fairly straight forward. Download the source, and goto the "PCBuild" directory in the Visual Studio Developer Command Prompt. Once there, here is the build command:

build.bat -e -p x64 --disable-gil

Building with JIT Support

To build with JIT suport, Clang-18 is required.

  • Install Clang for Windows
    • Not from VStudio, that did not work ("Can't find llvm-readobj-18!")

build.bat -e -p x64 --disable-gil --experimental-jit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment