Last active
August 29, 2015 14:10
-
-
Save jbinto/a43d4f02ce734fc63971 to your computer and use it in GitHub Desktop.
ansible, dopy, homebrew, python, pip, PYTHON_PATH madness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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