I'm running a code with Python 2.7. And I get "ImportError: No module named enum". I installed enum with "pip install enum" but the error keeps coming. What shall I do??
13
votes
2 Answers
16
votes
You want the backport:
pip install enum34
The distribution named enum on PyPI is something else, unfortunately.
pip show enumin the command prompt and see what it says under "Requires" - sam-pyt