Why am I receiving the error message "cannot import name '_psutil_linux' from partially initialized module 'psutil'" when launching jobs within Ansible Tower?
Issue
-
Error message is thrown when running any job within Ansible Tower.
ERROR! Unexpected Exception, this is probably a bug: cannot import name '_psutil_linux' from partially initialized module 'psutil' (most likely due to a circular import) (/var/lib/awx/venv/ansible/lib/python3.6/site-packages/psutil/__init__.py)
Environment
- Red Hat Enterprise Linux 8
- Ansible Tower 3.8
- Ansible Automation Platform 1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.