can not import name '_psutil_linux' from partially initialized module 'psutil'

Posted on

I've successfully installed the trial version of Ansible Tower 3.8.6 on a red hat VM. After installing when I try to run a command on localhost it gives me the error which I attached as a file.
I followed the below steps to configure Ansible Tower,

  1. subscription-manager register
  2. subscription-manager refresh
  3. subscription-manager attach --auto
  4. yum update
  5. shutdown -r now
  6. cat /etc/redhat-release
  7. uname -a
  8. yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  9. dnf repolist all
  10. yum -y install ansible vim curl
  11. mkdir /tmp/tower && cd /tmp/tower
  12. curl -k -O https://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz
  13. tar xvf ansible-tower-setup-latest.tar.gz
  14. cd ansible-tower-setup*/
  15. vim inventory #added password to #admin_password,pg_password, automationhub_admin_password, #automationhub_pg_password
  16. sudo ./setup.sh

Let me know if I had misconfigured anything.

Please give me suggestions to resolve this issue.

Attachments

Responses