ImportError: cannot import name 'Enum'

muhammedabuali at gmail.com muhammedabuali at gmail.com
Sun Nov 23 07:10:04 EST 2014


Hello all,

I am trying to use the python module but when I open the shell and write:

` import enum `

I get the following error

` Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.4/enum.py", line 3, in <module>
    from types import MappingProxyType, DynamicClassAttribute
  File "/home/muhammed/workspace/python/unification/types.py", line 1, in <module>
    from enum import Enum
ImportError: cannot import name 'Enum'

`



More information about the Python-list mailing list