python安装失败如何卸载干净_彻底卸载Python环境及安装的Python模块
由于之前安裝過(guò)python,安裝anaconda的時(shí)候提示: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得到所有通過(guò)pip安裝的軟件
依次pip uninstall [模塊]
卸載pip(因?yàn)槲覚C(jī)器上的pip是通過(guò)python setup.py安裝的,卸載提示成功后報(bào)錯(cuò)了,不知道會(huì)不會(huì)有什么后遺癥,先卸載著吧)
2、使用easy_install安裝的模塊
沒(méi)用easy_install安裝過(guò),跳過(guò)。。
3、使用python setup.py install安裝的模塊
使用python setup.py uninstall來(lái)卸載
不過(guò)我一般很少用這種安裝方式,也不太記得自己安裝了些什么了,跳過(guò)。?!?》以后盡量用pip安裝
3、卸載Python本身
控制面板卸干凈,檢查清理下殘余環(huán)境變量path、classpath、python_home等
刪掉安裝文件夾
總結(jié)
以上是生活随笔為你收集整理的python安装失败如何卸载干净_彻底卸载Python环境及安装的Python模块的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: spring 5企业级开发实战pdf_S
- 下一篇: 在将varchar值id转换为int时失