解决问题
AttributeError: module 'enum' has no attribute 'IntFlag'?
解决方法
pip uninstall enum34 #卸载enum34,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.
大功告成!!哈哈!!