This repository has been archived by the owner. It is now read-only.

python 2.7 and easy_install pip - wrong directory #10904

Closed
januz opened this Issue Mar 13, 2012 · 4 comments

Comments

Projects
None yet
3 participants

januz commented Mar 13, 2012

Hi,

I´ve been installing python following the instructions on https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python, installing pip with

easy_install pip

But easy_install seems to have installed pip not in the /usr/local/share/python directory but in the standard /usr/local/bin.

What did I do wrong? How can I deinstall pip and reinstall it into the right directory?

Thanks,

Januz

Contributor

Sharpie commented Mar 13, 2012

Are you using Homebrew's Python or the system Python?

januz commented Mar 13, 2012

I installed via Homebrew using "brew install python". After successful installation I installed pip via "easy_install pip"...

Thanks,

Januz

Contributor

jacknagel commented Mar 13, 2012

Homebrew python's easy_install is in /usr/local/share/python; did you put that in your path first?

If you just easy_install pip without doing that first, you will be using /usr/bin/easy_install which sticks pip in /usr/local/bin.

januz commented Mar 13, 2012

I did put it in my path but as I just realised, I didn´t put it in front of /usr/bin so easy_install was infact calling the system´s easy_install...

Sorry and thanks for your help!

J.

@januz januz closed this Mar 13, 2012

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.