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

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

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

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

猜你喜欢

转载自blog.csdn.net/dou3516/article/details/108501612