我无法卸载setuptools。怎么样?
$ 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...
如何卸载setuptools?
答案 0 :(得分:1)
考虑到当前的Python版本带有 setuptools,非常确定不应删除它。
由于pip uninstall setuptools
不起作用(谢天谢地),您可以尝试删除C:\Python27\Lib\site-packages\setuptools
或同等的文件夹。 (在* nix系统上:/usr/lib/python2.7/dist-packages
。)
免责声明:这是一个非常糟糕的主意,pip
之后可能根本不起作用。