First time using Ubuntu. I installed Anaconda 4.1.1 (Python 2.7). I was trying to use enum but I got an import error.
import enum
Traceback (most recent call last):
File "<ipython-input-1-13948d6bb7b8>", line 1, in <module>
import enum
ImportError: No module named enum
I tried using: conda install -c menpo enum=0.4.4 but it didn't work.
I also tried installing enum from this link - https://pypi.python.org/pypi/enum34#downloads
None of these solutions have worked for me so far.
Any help would be greatly appreciated. Thanks!
Try pip install enum34
. Enum is in the Python 3 stdlib. enum34
is a backport.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With