I found that with /usr/bin/python I cannot import psycopg2, but with 
/usr/local/bin/python I can.  Guess there's two python envs on my managed 
host.

On Wednesday, 7 March 2018 22:00:17 UTC, gearo...@gmail.com wrote:
>
> psycog2 has beeen installed using ansible pip module.
>
> The postgresql_user module fails with a message saying psycog2 is required.
>
> pip list shows that psycog2 is installed on the managed system.
> ansible 2.4.3, python 2.7.10 
> managed system is rhel 7.4
>
> Have I missed something ?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8b6b5094-0c85-4980-a9ff-be5f9acbd2ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to