Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip: error: No command by the name pip uninstall

Tags:

python

pip

So, this is strange. I've been trying to setup a python dev environment on emacs - and I've attempted to setup ropemacs, rope and pymacs. It's just not biting however, complaining that the pymacs helper didn't start in 30 seconds. Well, I've decided to give up on this part of the setup (autocomplete is pretty good as it is) and I want to remove these "dead" packages. However, when I try to invoke pip uninstall I get the error message described in the title. Anyone else had this issue, or know how to get round it?

EDIT: pip version info

pip 0.3.1 from /usr/lib/python2.6/dist-packages (python 2.6)

like image 253
sunwukung Avatar asked Jan 26 '26 15:01

sunwukung


1 Answers

The uninstall subcommand was introduced in pip 0.6. Your version (0.3.1) does not include that feature.

Upgrade your pip:

$ curl https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py | python

More information:

  • http://www.pip-installer.org/en/latest/installing.html
  • http://www.pip-installer.org/en/latest/news.html
like image 54
Hugo Tavares Avatar answered Jan 28 '26 05:01

Hugo Tavares



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!