Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsDescription:
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
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.