[New-bugs-announce] [issue30446] Embedded 3.6.1 distribution cannot find _socket module

Thomas Stevenson report at bugs.python.org
Tue May 23 19:46:11 EDT 2017


New submission from Thomas Stevenson:

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.

----------
components: Windows
messages: 294297
nosy: paul.moore, steve.dower, tim.golden, tomjessy at me.com, zach.ware
priority: normal
severity: normal
status: open
title: Embedded 3.6.1 distribution cannot find _socket module
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30446>
_______________________________________


More information about the New-bugs-announce mailing list