Pyinstaller doesn't work in python 3.7 (can't find module 'encodings')

一笑奈何 提交于 2019-11-28 12:31:54

I have the same error (zipimport.ZipImportError: can't find module 'encodings').

I think it has to do with Python 3.7 not supporting pyinstaller yet...

I had the same problem and I resolve it by replacing Python 3.7, to Python 3.6.5 in my Windows 10 pro OS. During compilation of my python script using PyInstall i am still getting these WARNING: lib not found: api-ms-win-crtXXX... warnings, but the final executable works fine w/o any error.

I also encountered the same error. I upgraded pyinstaller to the latest version[3.4] and the problem is solved. My environmental information is as follows: windows 7,python 3.7.0,pyinstaller 3.1. Reference source:zipimport.ZipImportError: can't find module 'encodings'

Was trying to install Python and took the latest version (3.7.2). Got the same error (or while setting it up with the installer, gave the cryptic "Access Denied" issue, which led to a different set of issues/resolutions.

Finally, just changed to an earlier release (v3.5.2 for now) and that worked smoothly. Saves time, if you're trying to get other things done! As someone pointed out already, it probably has to do with PyInstaller not being supported (yet?)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!