mikebmassey mikebmassey - 1 year ago 104
Python Question

Too many levels of symlinks?

I am attempting to re-install


When I run
easy_install pip
, I get the following error message:

easy_install pip
Searching for pip
Best match: pip 1.4.1
Adding pip 1.4.1 to easy-install.pth file
Installing pip script to /usr/local/bin
error: /usr/local/bin/pip: Too many levels of symbolic links

How can I remove the symlink? Alternatively/related - is
installed already?

Answer Source

For some reason, /usr/local/bin/pip is a symlink pointing to itself, and easy_install is getting confused trying to write to it, instead of just deleting it first. You can do that yourself by running

sudo rm /usr/local/bin/pip

then rerunning the installation process.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download