AttributeError: Module ‘enum’ has no attribute ‘IntFlag’

Solutions:

pip uninstall enum34
Copy the code