This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SimonG
Recipients SimonG, amaury.forgeotdarc, belopolsky, meador.inge, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-03-22.06:07:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458626852.35.0.540179737629.issue26598@psf.upfronthosting.co.za>
In-reply-to
Content
1- New solution Win32 "console application", (left all default settings).
2- downloaded "Gzipped source tarball" from https://www.python.org/downloads/release/python-351/
3- Extracted everything, (didn't change anything).
4- Added "pythoncore.vcxproj" in "Python-3.5.1\PCbuild" to the solution above.
5- Compiled to make sure... "python35_d.dll" and "python35_d.lib" created in "Python-3.5.1\PCbuild\win32"
6- Added the "Python-3.5.1\PCbuild\win32" to my library include folder
7- Added "Python-3.5.1\Include" to my additional include folder. (for Python.h)
7- Added "Python-3.5.1\PC" to my additional include folder. (for Pyconfig.h)
8- Added "#include "Python.h"" to my ConsoleApplicaiton.cpp
9- Compile, all good.
10- downloaded "Windows x86-64 embeddable zip file" from link above.
11- Copied the created "python35_d.dll" to my debug folder.
12- Replaced "path\\to\\python35.zip" with the full path of the embeddable zip file.

And I get the same issue.

PyErr_Print(); output.

Trackback (most recent call last):
  File "<string>", line 1, in <module>
  File "ctypes\__init__.py, line 8, in <module>
ImportError: No module named '_ctypes'

"import unittest" - works

"import winsound" - does not work, same error as above.

Please let me know if I should do anything else.
History
Date User Action Args
2016-03-22 06:07:32SimonGsetrecipients: + SimonG, paul.moore, amaury.forgeotdarc, belopolsky, tim.golden, meador.inge, zach.ware, steve.dower
2016-03-22 06:07:32SimonGsetmessageid: <1458626852.35.0.540179737629.issue26598@psf.upfronthosting.co.za>
2016-03-22 06:07:32SimonGlinkissue26598 messages
2016-03-22 06:07:31SimonGcreate