[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'
New submission from hyu : >python Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings' There are two vcruntime140.dll with no binary diff. Date Time Attr Size Compressed Name --- - 2018-12-10 22:06:34 .8012845532 vcruntime140.dll ... 2018-12-10 22:06:34 .8012845532 vcruntime140.dll Repeated downloads. Checked both versions: https://www.python.org/ftp/python/3.7.2/python-3.7.2-embed-amd64.zip https://www.python.org/ftp/python/3.7.2/python-3.7.2-embed-win32.zip Searched and read release and doc. Checked bugs since yesterday. -- messages: 332595 nosy: hyu priority: normal severity: normal status: open title: Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings' versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue35596> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'
hyu added the comment: Repeated on two clean install Windows hosts. No (re)packaging, download and run/start python. Repeated with versions 3.7.2, 3.7.1, and 3.6.8: https://www.python.org/ftp/python/3.7.2/python-3.7.2-embed-amd64.zip https://www.python.org/ftp/python/3.7.1/python-3.7.1-embed-amd64.zip https://www.python.org/ftp/python/3.6.8/python-3.6.8-embed-amd64.zip Windows Explorer properly extracted: \tmp\py372, \tmp\py371, \tmp\py368. Python 3.6.8 and 3.7.1 properly started, executed import sys; sys.exit() Python 3.7.2 failed to start. Please suggest proper commands if you claim these are not proper Windows commands. Worked extra to show both 3.6 and 3.7 regressions. If you want to claim copying 3.6.8 vcruntime140.dll to 3.7.1 as (re)packaging, then ignore v3.7.1:260ec2c36a below. Windows Explorer shows and 7-zip lists two vcruntime140.dll in 3.7.2. Please ignore 7-zip if you claim that is not proper or (re)package tool and I will attach Windows Explorer screen shot. Microsoft Windows [Version 10.0.17763.195] (c) 2018 Microsoft Corporation. All rights reserved. C:\>\tmp\py368\python Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32 >>> import sys; sys.exit() C:\>\tmp\py372\python Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings' Current thread 0x2614 (most recent call first): C:\>copy \tmp\py368\vcruntime140.dll \tmp\py371\ 1 file(s) copied. C:\>\tmp\py371\python Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32 >>> import sys; sys.exit() C:\> -- nosy: -serhiy.storchaka type: crash -> ___ Python tracker <https://bugs.python.org/issue35596> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34072] 3.7.0 Windows embeddable zip vcruntime140.dll
New submission from hyu : 3.7.0 Windows embeddable zip is missing vcruntime140.dll(?) Running python would display error about VCRUNTIME140.DLL. Copying vcruntime140.dll from earlier 3.6.x release is a work around. -- components: Windows messages: 321294 nosy: hyu, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: 3.7.0 Windows embeddable zip vcruntime140.dll type: behavior versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue34072> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com