[Pyinstaller] 错误之AttributeError: module ‘io‘ has no attribute ‘OpenWrapper‘

2023-05-16

使用Pyinstaller编译py文件时,出错:

Fatal Python error: init_sys_streams: can't initialize sys standard streams 
AttributeError: module 'io' has no attribute 'OpenWrapper'

这是因为工程里有模块(文件夹)为io,重名后解决。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

[Pyinstaller] 错误之AttributeError: module ‘io‘ has no attribute ‘OpenWrapper‘ 的相关文章

随机推荐