python安装失败如何卸载干净_彻底卸载Python环境及安装的Python模块

由于之前安装过python,安装anaconda的时候提示:not recommended. instead,open anaconda with the windows start menu and select (anaconda 64bit),this “and to path” option makes anaconda get found before previously installed software,but may cause problems requiring you to uninstall and reinstall anaconda

如何彻底卸载Python?

1、使用pip安装的模块

pip list得到所有通过pip安装的软件

依次pip uninstall [模块]

卸载pip(因为我机器上的pip是通过python setup.py安装的,卸载提示成功后报错了,不知道会不会有什么后遗症,先卸载着吧)

2、使用easy_install安装的模块

没用easy_install安装过,跳过。。

3、使用python setup.py install安装的模块

使用python setup.py uninstall来卸载

不过我一般很少用这种安装方式,也不太记得自己安装了些什么了,跳过。。—-》以后尽量用pip安装

3、卸载Python本身

控制面板卸干净,检查清理下残余环境变量path、classpath、python_home等

删掉安装文件夹


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部