Issue 35587: Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip) (original) (raw)

[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