I can't uninstall setuptools. How come?
$ sudo pip uninstall setuptools
Can't uninstall 'setuptools'. No files were found to uninstall.
$ sudo pip install setuptools
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages
Cleaning up...
How can I uninstall setuptools?
Considering that current Python versions are shipped with setuptools, pretty sure you shouldn't remove it.
And since pip uninstall setuptools
doesn't work (thankfully), you could try just deleting the C:\\Python27\\Lib\\site-packages\\setuptools
, or equivalent, folder. (On *nix systems: /usr/lib/python2.7/dist-packages
.)
Disclaimer: this is a very bad idea, pip
may not work at all afterwards.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.