classification
Title: Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'
View: 35596
Assigned To: Nosy List: embed372, serhiy.storchaka, steve.dower, xtreak
Priority: normal Keywords:

Created on 2018-12-26 04:21 by embed372, last changed 2018-12-28 06:27 by steve.dower. This issue is now closed.

Messages (2)
msg332530 - (view) Author: (embed372) Date: 2018-12-26 04:21
[zip file]
=-----------------------------------------------------------
python37.zip
.

# Uncomment to run site.main() automatically
#import site
------------------------------------------------------------
Fatal Python error: initfsencoding: unable to load the file system codec
zipimport.ZipImportError: can't find module 'encodings'

Current thread 0x0000228c (most recent call first):




[directory : extracted form python37.zip]
=-----------------------------------------------------------
python37
.

# Uncomment to run site.main() automatically
#import site
------------------------------------------------------------

works well ...




[duplicaiton of vcruntime140.dll in Python 3.7.2 embed]
------------------------------------------------------------
python37._pth
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
python3.dll
python37.dll
sqlite3.dll
vcruntime140.dll [*]
vcruntime140.dll [*]  <-- _distutils_findvs.pyd (?)
python.exe
pythonw.exe
_asyncio.pyd
_bz2.pyd
_contextvars.pyd
_ctypes.pyd
_decimal.pyd
_elementtree.pyd
_hashlib.pyd
_lzma.pyd
_msi.pyd
_multiprocessing.pyd
_overlapped.pyd
_queue.pyd
_socket.pyd
_sqlite3.pyd
_ssl.pyd
pyexpat.pyd
select.pyd
unicodedata.pyd
winsound.pyd
python37.zip
------------------------------------------------------------
msg332631 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python triager) Date: 2018-12-28 01:04
This seems to be related to issue35596.
History
Date User Action Args
2018-12-28 06:27:00steve.dowersetstatus: open -> closed
superseder: Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'
resolution: duplicate
stage: resolved
2018-12-28 01:04:40xtreaksetnosy: + xtreak, serhiy.storchaka, steve.dower
messages: + msg332631
2018-12-26 07:38:57embed372setcomponents: + Library (Lib), - Build
2018-12-26 04:34:59embed372settype: compile error -> behavior
2018-12-26 04:34:19embed372settype: crash -> compile error
2018-12-26 04:23:22embed372settitle: Python 3.7.2 Embed - zipimport.ZipImportError -> Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)
2018-12-26 04:21:34embed372create