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
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Allan McRae (Allan) - Wednesday, 04 December 2019, 11:10 GMT
Sounds like a partial upgrade to me. Do a full system update.
Comment by Tomas Jasek (tomsik68) - Wednesday, 04 December 2019, 12:28 GMT
Yes, I confirm it works after `pacman -Syu && pacman -S ansible`. I'm sorry for the spam.

Loading...