Skip to content

Instantly share code, notes, and snippets.

@jbinto
Last active August 29, 2015 14:10
Show Gist options
  • Save jbinto/a43d4f02ce734fc63971 to your computer and use it in GitHub Desktop.
Save jbinto/a43d4f02ce734fc63971 to your computer and use it in GitHub Desktop.
ansible, dopy, homebrew, python, pip, PYTHON_PATH madness
# situation:
# * Installed python+pip from homebrew.
# * Installed ansible from homebrew, then un/reinstalled with pip+git (requirements.txt)
# * Ansible cannot see `dopy` module installed via requirements.txt.
# solution:
# see https://github.com/jlund/streisand/issues/12
mkdir -p ~/Library/Python/2.7/lib/python/site-packages
echo '/usr/local/lib/python2.7/site-packages' > ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment