Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install fails on Ubuntu 14.04 and Mint 17.1 #563

Open
nagordon opened this issue Jun 4, 2015 · 3 comments
Open

make install fails on Ubuntu 14.04 and Mint 17.1 #563

nagordon opened this issue Jun 4, 2015 · 3 comments

Comments

@nagordon
Copy link

nagordon commented Jun 4, 2015

With Ubuntu 14.04 and Mint 17.1 and Anaconda Python 2.7 installed, I receive this error when running

command

make install

Error

Collecting tweepy==2.3.0 (from -r requirements.txt (line 51))
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-5IaLOn/tweepy/setup.py", line 4, in <module>
        from tweepy import __version__
      File "tweepy/__init__.py", line 16, in <module>
        from tweepy.auth import OAuthHandler, AppAuthHandler
      File "tweepy/auth.py", line 10, in <module>
        from tweepy import oauth
      File "tweepy/oauth.py", line 30, in <module>
        import hmac
      File "/home/neal/anaconda/lib/python2.7/hmac.py", line 8, in <module>
        from operator import _compare_digest as compare_digest
    ImportError: cannot import name _compare_digest

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5IaLOn/tweepy
make: *** [deps] Error 1
@mitechie
Copy link
Member

mitechie commented Jun 4, 2015

A quick search seems to imply that your version of python is slightly out of date.

http://stackoverflow.com/questions/26535043/python-flask-error-importerror-cannot-import-name-compare-digest

Can you verify your full python 2.7 version and see if there's an update available?

@craigmaloney
Copy link
Contributor

Bah, sorry. Thought I was canceling what I was writing. Mea culpa.

@nagordon
Copy link
Author

nagordon commented Jun 4, 2015

In [3]: print 'Python version ' + sys.version
Python version 2.7.10 |Continuum Analytics, Inc.| (default, May 28 2015, 17:02:03) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]

also, after running conda update --all all packages are up to date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants