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

Brett Cannon brett at python.org
Wed May 27 20:17:02 CEST 2015


This mailing list is for the development *of *Python, not *with* it. The
best place to ask this would be on python-list at python.org.

On Wed, May 27, 2015 at 1:08 PM Uladzimir Kryvian <newinferno at gmail.com>
wrote:

> Hi!
> 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?
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150527/6a8356b8/attachment.html>


More information about the Python-Dev mailing list