macOS Install with pip vs homebrew

83 views
Skip to first unread message

Logan L

unread,
Mar 23, 2021, 2:25:43 AM3/23/21
to Ansible Project
Spent way too much time trying to figure this out. Hopefully someone here can help. In order to get ansible on the CLI, I must install with homebrew. pip install does not work.

Python Setup
----
python3 alias to python
pip3 alias to pip

Trying to follow the recommended instructions, and use `pip install ansible --user` but this does not put an executable anywhere on my path. When installing pip stuff "at some previous date" it would put things in a bin folder that I could add to my path ex:

~/Library/Python/3.8/bin

Now when I am installing with pip I see the python files being added in:
~/Library/Python/3.9/lib/python/site-packages/ansible

However there are no executables in:
~/Library/Python/3.9/bin

I added the Python/version/bin folders to my PATH... but there is nothing there ... Suffice to say I have a very long PATH that should catch everything.

This should work right? What am I missing?

Thanks
Reply all
Reply to author
Forward
0 new messages