A
A
Andrey2015-04-20 05:43:53
macOS
Andrey, 2015-04-20 05:43:53

Installing mac os python packages?

Hello!
I installed python via brew, it got into the /usr/local/Cellar/python/2.7.9 directory
via pip the packages are placed in /usr/local/lib/python2.7/site-packages
The problem is that Python does not see the packages installed via pip, tell me how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2015-04-20
@idap

Look at which python, which pip, pip --version, and match it up. Perhaps it will be enough to change the PATH, or, as advised above, change the link.
Sometimes even brew during installation determines that something went wrong and tells you how to fix it. In brew, by the way, there is a link command, and it can re-create the links that should be.

N
Nick V, 2015-04-20
@half-life

Change symlink to pip?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question