Need help setting Ansible up

Sorry I can’t be of much help with Python 2.x/system setup - I had way too many issues with it! Which is why I ended up ditching it in favour of pyenv.

This is what I have in my ~/.zshrc (using pyenv like this -> Issues installing Ansible on Mac OS )

# ~/.zshrc

# Setup/init python env
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
  eval "$(pyenv init -)"
fi

1 Like