

To list all files that would be deleted: brew link -overwrite -dry-run python To force the link and overwrite all conflicting files: brew link -overwrite python The formula built, but is not symlinked into /usr/local" Told you something like this: "Error: The `brew link` step did not complete successfully

If not, check, if there are links, which are not done with brew install. You should see /usr/local/Cellar/python/2.7.9/bin/pip Show, if pip is installed by typing brew list python | grep pip You have /usr/local/bin/python linked to /usr/local/Cellar/python/2.7.9/bin/python. If you show the results of this steps, we can probably help you much easier. Lrwxr-xr-x 1 root wheel 68 7 Mai 13:22 python -> /usr/local/bin/python If you want to know, where the executable is, show it by typing ls -l $(which python) Will show you, which python is found first in your $PATHĪnd will be executed when you invoke python. There should be one python found at /usr/bin/ (the Apple python) and one at /usr/local/bin/ which is the Homebrew python. Now, check what pythons are found on your OSX by typing: which -a python If /usr/local/bin is not in your $PATH, put this line at the end of your ~/.profile file. To make use of your installed formulae, make sure /usr/local/bin is in your $PATH. Generally, homebrew will install a formula into /usr/local/Cellar/formula and then place a link at /usr/local/bin/formula. Ls -l $(which pip) returns several, including the python files that I showed in my original post Lrwxr-xr-x 1 Ivan admin 33 17 May 08:59 /usr/local/bin/python ->. ls -l $(which python) returns a single directory:.usr/local/bin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/opt/X11/bin:/usr/local/mysql/bin I would appreciate the help of anyone with more experience than me.Įdit: I tried the steps suggested by Marco:

I find the following files: _init_.py commands operationsīasecommand.py exceptions.pyc status_codes.pyc Or /usr/local/Cellar/python/2.7.9/libexec/pip/pip When I open /usr/local/lib/python2.7/site-packages/pip I don't really know where to point my $PATH as I can't find the pip executable. usr/local/lib/python2.7/site-packages/pip usr/local/Cellar/python/2.7.9/libexec/pip/pip usr/local/Cellar/python/2.7.9/libexec/pip The only results I get are: /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip When I use the bash command: find / -name 'pip' bash_profile to include /usr/local/bin/python and /usr local/share/python to no avail. I've installed python using homebrew and I can't invoke pip from the bash.
