我的机器在基础环境中同时安装了python3.5和python3.6。 由于某些原因,我不得不删除 python3.5。 我尝试通过命令删除它 - sudo apt-get remove python3.5 和 sudo apt-get purge python3.5。
sudo apt-get remove python3.5
sudo apt-get purge python3.5
显示python3.5已从系统中删除。但是当我使用 python3.5 运行某个程序时,它仍在运行。
如何从机器上彻底删除python3.5?
您使用以下命令删除 python3.5-minimal(以 root 身份):
apt remove python3.5-minimal
在继续之前检查输出以确保您对依赖项也已删除感到满意。