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 ThomasS
Recipients ThomasS, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-05-23.23:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495583171.06.0.348150251511.issue30446@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to import the socket module using the embedded distribution for 3.6.1, I get the error: <class 'ModuleNotFoundError'>: No module named '_socket'

Running with the standard interpreter works:

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)]
 on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from socket import *
>>>

via an embedded C++ call, however, <class 'ModuleNotFoundError'>: No module named '_socket' is the error returned.
History
Date User Action Args
2017-05-23 23:46:11ThomasSsetrecipients: + ThomasS, paul.moore, tim.golden, zach.ware, steve.dower
2017-05-23 23:46:11ThomasSsetmessageid: <1495583171.06.0.348150251511.issue30446@psf.upfronthosting.co.za>
2017-05-23 23:46:10ThomasSlinkissue30446 messages
2017-05-23 23:46:10ThomasScreate