Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation regarding python3 in macOS #3487

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

1. Follow the [instructions to install the latest version of Ansible][ansible-install].
* In most cases, using pip: `pip install ansible`.
* If you use brew, then `brew install python2 ansible`, and then run
`export PYTHONPATH=$(pip2 show pyyaml | grep Location | awk '{print $2}') `
* If you use brew, then `brew install python3 ansible`, and then run
`export PYTHONPATH=$(pip show pyyaml | grep Location | awk '{print $2}') `
before you use `ansible-playbook`.
* If you have Python 2 installed, you may need to add an alias to your shell profile for python 3 as the default python interpreter, like `alias python=/usr/local/bin/python3.11`
2. Read this document.
3. For SSH access, see the [SSH guide](../doc/ssh.md).

Expand Down