python3.6安装pyinstaller报错:AttributeError: module 'enum' has no attribute 'IntFlag'

转载至:https://blog.csdn.net/qq_41185868/article/details/80599336

感谢原作者的分享

解决思路:这可能是由包Enum34引起的。因为Python3.4有一个标准库枚举模块,所以您应该卸载Enum34,因为在Python3.6中添加了Enum.Intflag,所以它不再与标准库中的枚举兼容。

 

解决办法:pip uninstall enum34   #卸载enum34

posted @ 2019-05-15 16:05  清水-殇  阅读(3053)  评论(0编辑  收藏  举报