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.

Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip/", line 215, in main
    status =, args)
  File "/Library/Python/2.7/site-packages/pip/commands/", 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.


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