[Python-Dev] Embedded Python. Debug Version and _ctypes

Uladzimir Kryvian newinferno at gmail.com
Wed May 27 19:04:16 CEST 2015

I'm trying to use embedding of Python in my program.

Simple C-program, compiled in Debug, that uses py-script that just
imports "ctypes" gives me an error about "no module named "_ctypes".

How to compile python lib in Visual Studio statically with ctypes
support? Or how to use shared ctypes lib in debug mode?

More information about the Python-Dev mailing list