Ansible - pip3 install fails
Solution 1:
Bash caches the paths to commands, and if a command is relocated (as it appears to be in your case) then bash will not pick it up unless that cache is cleared.
You can clear ansible
from the cache with:
hash -d ansible
Or clear the entire cache with:
hash -r