成功解决AttributeError: module 'enum' has no attribute 'IntFlag'?
2018年06月06日 18:41:27 一个处女座的程序猿 阅读数 6288更多
个人分类: Computer knowledge
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41185868/article/details/80599336
解决问题
AttributeError: module 'enum' has no attribute 'IntFlag'?
解决思路
This is likely caused by the package enum34. Since python 3.4 there's a standard library enum module, so you should uninstall enum34, which is no longer compatible with the enum in the standard library since enum.IntFlag was added in python 3.6.
解决方法
pip uninstall enum34 #卸载enum34