简体   繁体   English

卸载Python3.3.4(之前通过源码安装)

[英]Uninstall Python3.3.4 (previously installed via source code)

How can I uninstall Python3.3.4 previously installed via source code?如何卸载以前通过源代码安装的Python3.3.4? During the installation I made:在安装过程中我做了:

./configure --prefix=/opt/python3.3.4
make
sudo make install

I tried sudo make uninstall and make unistall , but nothing happened.我试过sudo make uninstallmake unistall ,但什么也没发生。

I'd go for something unsubtle like我会去做一些不微妙的事情,比如

sudo rm -rf /opt/python3.3.4

assuming that's where Python was actually installed.假设这就是实际安装 Python 的地方。 But this looks unnatural, because why would anybody ever want to uninstall Python?但这看起来不自然,因为为什么会有人想要卸载 Python?

Also, if you have modified your PATH settings and the like you will have to undo those effect manually.此外,如果您修改了 PATH 设置等,则必须手动撤消这些影响。

您可以删除目录:

sudo rm -ri /opt/python3.3.4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果我开始使用conda作为python软件包管理器,是否应该从pip卸载以前安装的软件包? - If I start using conda as my python package manager, should I uninstall previously installed packages from pip? 如何更改已安装的 python package 中的源代码? - How to change the source code in an installed python package? python找不到以前安装的软件包 - python not finding previously installed packages 卸载从源代码构建的python? - Uninstall python built from source? 使用已安装的 Python package 但不在源代码中时导入工作 - Imports work when using installed Python package but not in source code 我从 web 安装的 Python 模块的源代码 - Source code of Python module that I installed from the web 如果从源代码安装,如何卸载包管理器“pip”? - How do you uninstall the package manager “pip”, if installed from source? pyenv卸载会删除通过pip安装的所有软件包吗? - Does pyenv uninstall remove all packages installed via pip? 为什么virtualenv找不到以前通过pip -e安装的可编辑软件包? - Why is virtualenv not finding editable packages previously installed via pip -e? If语句Python 3.3.4语法错误 - If statement Python 3.3.4 syntax error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM