jjzjj

ZipImportError

全部标签

python - zipimport.ZipImportError : can't decompress data; zlib not available

我想使用cx_freeze将我的hello_world.py更改为exe文件。当我像这样运行cxfreeze时:cxfreezehello_world.py然后我运行exe文件,出现错误:./hello_worldFatalPythonerror:Py_Initialize:UnabletogetthelocaleencodingTraceback(mostrecentcalllast):File"/home/karl/anaconda3/lib/python3.6/encodings/__init__.py",line31,inzipimport.ZipImportError:can