did you install ansible using the same python version? Like # python3 -m pip install ansible
cheers, *Kosala* On Tue, Jul 4, 2023 at 3:13 AM dbs34 <[email protected]> wrote: > Hello! > > Shouln't I see my pip pointing to the same python version as what ansibile > is reporting, python3.9? Or why is pip9.0.3 pointing to python3.6 and not > 3.9? > > [root@ho-lx-ansible01 dnf]# python3 -m pip -V > *pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)* > > [root@ho-lx-ansible01 dnf]# ansible --version > ansible [core 2.13.3] > config file = /etc/ansible/ansible.cfg > configured module search path = ['/root/.ansible/plugins/modules', > '/usr/share/ansible/plugins/modules'] > ansible python module location =* /usr/lib/python3.9* > */site-packages/ansible* > ansible collection location = > /root/.ansible/collections:/usr/share/ansible/collections > executable location = /usr/bin/ansible > python version = 3.9.16 (main, Apr 1 2023, 04:44:33) [GCC 8.5.0 > 20210514 (Red Hat 8.5.0-18.0.1)] > jinja version = 3.1.2 > libyaml = True > > If so, how do I correct this? thank you! > > -- > 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/55b198c0-1487-409f-8b28-d02086d91d2an%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/55b198c0-1487-409f-8b28-d02086d91d2an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAP7S5HaxT5oOPMnymmiwYCMjRg8Cvia1iLXKLmgWA1cYcHj%3Dvw%40mail.gmail.com.
