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, tomje...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30446>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to