“tcl\encoding\ascii.enc could not be extracted” for pyinstaller-frozen .exe - Windows

隐身守侯 提交于 2020-07-09 08:20:27

问题


A Python 2.7 script frozen into .exe using pyinstaller has worked successfully for a number of users on many different Windows networks for months.

This morning, one group of users on one Windows network, and ONLY these three and ONLY this office (who has successfully run the program before), gets an error when they execute the .exe:

tcl\encoding\ascii.enc could not be extracted!
fopen: Permission denied

This makes me suspect they've suddenly changed file permissions or security on their network. But the only place where I know ascii.enc hangs out is C:\Python27\tcl\tcl8.5\encoding (or similar), and they've never had a full copy of Python, just the frozen .exe.

来源:https://stackoverflow.com/questions/51366260/tcl-encoding-ascii-enc-could-not-be-extracted-for-pyinstaller-frozen-exe-wi

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