Trouble upgrading Asible via Pip on OS X 10

Ran into issues today upgrading Ansible while prisoning a Mac OS X El Capitan machine to run Trellis.

This is a snippet of the error after running sudo pip install ansible --upgrade.

Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 317, in run

This is the command I used to work around:
sudo pip install ansible --upgrade --ignore-installed

Basic stuff, but I hope this helps some of you to get up and running.

4 Likes

Thank you so much. Spent more time then I wanted on this until I found this answer.