[issue30446] Embedded 3.6.1 distribution cannot find _socket module

2017-05-29 Thread Thomas Stevenson

Thomas Stevenson added the comment:

Thank you Steve and Zachary.  The context you provided helped me track it down, 
so I have marked this closed.  In case it benefits anyone in future as well, I 
ran into a subsequent topic where the C++ app was compiled in debug and hence 
the actual file being looked for was _socket_d.pyd which is not in the embedded 
distributable of course.

Thanks again for taking the time to provide your insights.

Thomas

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
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



[issue30446] Embedded 3.6.1 distribution cannot find _socket module

2017-05-23 Thread Thomas Stevenson

New submission from Thomas Stevenson:

Trying to import the socket module using the embedded distribution for 3.6.1, I 
get the error: : 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, : 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