I am on Centos 7 and I was trying to install Pyrax and seeing these errors:

ERROR: os-service-types 1.7.0 has requirement pbr!=2.1.0,>=2.0.0, but 
you'll have pbr 1.10.0 which is incompatible.
ERROR: python-keystoneclient 3.22.0 has requirement pbr!=2.1.0,>=2.0.0, but 
you'll have pbr 1.10.0 which is incompatible.
ERROR: python-keystoneclient 3.22.0 has requirement requests>=2.14.2, but 
you'll have requests 2.6.0 which is incompatible.
ERROR: oslo-config 6.12.0 has requirement requests>=2.18.0, but you'll have 
requests 2.6.0 which is incompatible.
ERROR: stevedore 1.31.0 has requirement pbr!=2.1.0,>=2.0.0, but you'll have 
pbr 1.10.0 which is incompatible.


So, I Installed Python 3.6 and ran pip3 install pyrax and success! The 
problem seems to be that ansible-playbook is still looking at Python 2.7 
which does NOT have the pyrax module installed because I am seeing this:

TASK [Database build request] 
****************************************************************************************************************************
fatal: [devdb -> localhost]: FAILED! => {"changed": false, "msg": "pyrax is 
required for this module"}

How can I tell Ansible to NOT use Python 2.7 and only use 3.6 and its 
modules?

Anyone? Thanks in advance!!
-M

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6b5c8efe-0e1c-4728-9217-2894220268a4%40googlegroups.com.

Reply via email to