Hey,

* Ahirnish Pareek <ahirn...@arista.com> [2016-04-14 14:35:51 +0530]:
> I am using Python 2.7 and when I searched for this error on Google, results
> said that 'enum' was introduced from Python3.4 but it was backported to
> previous releases too, including 2.7. Owing to the error, I did 'pip
> install enum' and now I am seeing this -

The backport of Python 3.4's enum to earlier versions is called
'enum34'. The 'enum' package seems to be something different, which
existed before Python 3.4.

I can recommend using tox to run the tests instead, which will set up
a virtualenv and install the right dependencies when you simply run
'tox': https://testrun.org/tox/

Florian

-- 
    http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)
       GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
     I'm running a crowdfunding to work on my FOSS-project full-time:
                  http://igg.me/at/qutebrowser

Attachment: signature.asc
Description: Digital signature

_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to