FS#64724 - [ansible] Error 'No module named ansible' after installing the package
Attached to Project:
Community Packages
Opened by Tomas Jasek (tomsik68) - Wednesday, 04 December 2019, 07:56 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 04 December 2019, 14:28 GMT
Opened by Tomas Jasek (tomsik68) - Wednesday, 04 December 2019, 07:56 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 04 December 2019, 14:28 GMT
|
Details
Description:
After installing ansible package, running `ansible` reports the following error: Traceback (most recent call last): File "/usr/bin/ansible", line 34, in <module> from ansible import context ImportError: No module named ansible Additional info: * package version(s) ansible 2.9.1-1 Steps to reproduce: Run the following commands: # pacman -S ansible $ ansible |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 04 December 2019, 14:28 GMT
Reason for closing: Not a bug
Wednesday, 04 December 2019, 14:28 GMT
Reason for closing: Not a bug
Comment by Allan McRae (Allan) -
Wednesday, 04 December 2019, 11:10 GMT
Comment by Tomas Jasek (tomsik68) -
Wednesday, 04 December 2019, 12:28 GMT
Sounds like a partial upgrade to me. Do a full system update.
Yes, I confirm it works after `pacman -Syu && pacman -S
ansible`. I'm sorry for the spam.