How to get python-dev for windows?

It seems there is no python-dev package for Windows. But the Python installer for Windows will normally install a sub directory include inside the main Python dir.

So with Python in C:\Python you would get:

  • C:\Python
  • C:\Python\DLLs
  • C:\Python\Doc
  • C:\Python\include
  • C:\Python\Lib
  • C:\Python\libs
  • C:\Python\Scripts
  • C:\Python\tcl
  • C:\Python\Tools

Inside this include directory you will find Python.h, which can be included or referenced.

Leave a Comment