lainsight.blogg.se

Yum install pip3
Yum install pip3









yum install pip3

Likewise, /usr/bin/ansible -version: -bash: /usr/bin/ansible: No such file or directory bash: /bin/ansible: No such file or directory However, the ansible -version command returns the following. Location: /usr/local/lib/python3.6/site-packages Here is the output of the pip3 show ansible command.

yum install pip3

Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.8->cryptography->ansible) Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/local/lib64/python3.6/site-packages (from cryptography->ansible) Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.6/site-packages (from cryptography->ansible) Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib64/python3.6/site-packages (from jinja2->ansible) Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from ansible) Requirement already satisfied: PyYAML in /usr/local/lib64/python3.6/site-packages (from ansible) Requirement already satisfied: jinja2 in /usr/local/lib64/python3.6/site-packages (from ansible) WARNING: Running pip install with root privileges is generally not a good idea. Pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)įollowing Ansibles documentation, I issue pip3 install ansible to install Ansible using pip3. This will make the default /usr/bin/ansible run with Python3 The easiest way to run /usr/bin/ansible under Python 3 is to install it with the Python3 version of pip. I uninstall ansible ( yum remove ansible) ~]# ansible -versionĬonfigured module search path = Īnsible python module location = /usr/lib/python2.7/site-packages/ansible

yum install pip3

If I install Ansible using yum install ansible, the ansible -version command shows that Ansible is configured to use Python 2.7.5. I am trying to install Ansible on CentOS 7, and have Ansible configured to use Python 3.











Yum install pip3