pip install fails on Cento5.10

99 views
Skip to first unread message

Mark Maas

unread,
May 22, 2014, 9:16:23 AM5/22/14
to ansible...@googlegroups.com
Dear All,

I'm unable to install ansible via pip on Centos 5.10:


  Using version 0.11 (newest of versions: 0.11, 0.10, 0.9, 0.8, 0.7, 0.6)
  Downloading from URL https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz#md5=8ef586fe4dbb156697d756900cb41d7c (from https://pypi.python.org/simple/ecdsa/)
  Running setup.py egg_info for package ecdsa
    Traceback (most recent call last):
      File "<string>", line 14, in ?
      File "/root/build/ecdsa/setup.py", line 5, in ?
        from ecdsa.six import print_
      File "ecdsa/__init__.py", line 3
        from .keys import SigningKey, VerifyingKey, BadSignatureError, BadDigestError
             ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in ?

  File "/root/build/ecdsa/setup.py", line 5, in ?

    from ecdsa.six import print_

  File "ecdsa/__init__.py", line 3

    from .keys import SigningKey, VerifyingKey, BadSignatureError, BadDigestError

         ^

SyntaxError: invalid syntax



Usually I have some idea on what to investigate next, but in this case. I'm stumped...

Mark

James Cammarata

unread,
May 22, 2014, 11:49:16 AM5/22/14
to ansible...@googlegroups.com
Hrm yes, that seems to be broken because of a dependency issue. You can try and install a slightly older version of the ecdsa library first, to see if that gets you around the issue?


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fb92b712-4d46-4b3a-8090-076207b3e2f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael DeHaan

unread,
May 23, 2014, 8:26:49 AM5/23/14
to ansible...@googlegroups.com
The more correct answer here is Ansible on the control machine requires python 2.6 or higher.

The remote machines only need python 2.4 or higher.





PS

unread,
Sep 5, 2014, 4:22:07 PM9/5/14
to ansible...@googlegroups.com
Mark,

Were you able to install ansible? I am seeing the same error message and my python version is  2.7.2. I am installing on CentOS 5.6.

Michael DeHaan

unread,
Sep 5, 2014, 5:21:07 PM9/5/14
to ansible...@googlegroups.com
Ansible does *NOT* support running on CentOS 5.X as a control machine.

It will manage them as guests.

I would highly recommend installing on 6.X, a Fedora, Ubuntu, or a Mac, as good/easy alternatives.

The reason for this is python 2.6 is on the control machine - you can do this if you know what you are doing, but we can't really spend too much time helping with it, especially when problems are reported.




--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages