Ubuntu 16.04, Python 2.7 - ImportError: No module named enum
<p>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.</p>

<pre><code>import enum
Traceback (most recent call last):

File "&lt;ipython-input-1-13948d6bb7b8&gt;", line 1, in &lt;module&gt;
import enum

ImportError: No module named enum
</code></pre>

<p>I tried using:
    conda install -c menpo enum=0.4.4
but it didn't work.</p>

<p>I also tried installing enum from this link - <a href="https://pypi.python.org/pypi/enum34#downloads" rel="nofollow">https://pypi.python.org/pypi/enum34#downloads</a></p>

<p>None of these solutions have worked for me so far. </p>

<p>Any help would be greatly appreciated. Thanks!</p>

<p>Try <code>pip install enum34</code>. Enum is in the Python 3 stdlib. <code>enum34</code> is a backport.</p>

python python-2.7 ubuntu enums ubuntu-16.04