4

pip install Enum is not working is showing the error of AttributeError:module 'enum' has no attribute 'IntFlag'

enter image description here

Willem Van Onsem
  • 443,496
  • 30
  • 428
  • 555
Naga kiran
  • 4,528
  • 1
  • 17
  • 31

1 Answers1

3

enum34 is the stdlib Enum backport, but it only supports features found up to 3.5. If you want features found in 3.6 you'll need to use aenum1.


1 Disclosure: I am the author of the Python stdlib Enum, the enum34 backport, and the Advanced Enumeration (aenum) library.

Ethan Furman
  • 63,992
  • 20
  • 159
  • 237