简体   繁体   English

无法删除 Python3.5

[英]Unable to remove Python3.5

My machine has both python3.5 and python3.6 installed in the base environment.我的机器在基础环境中安装了 python3.5 和 python3.6。 I had to remove python3.5 because of some reasons.由于某些原因,我不得不删除 python3.5。 I tried removing it by command - sudo apt-get remove python3.5 and sudo apt-get purge python3.5 .我尝试通过命令删除它 - sudo apt-get remove python3.5sudo apt-get purge python3.5

It shows python3.5 is removed from the system.它显示 python3.5 已从系统中删除。 But when I run some program using python3.5 it is still running.但是当我使用 python3.5 运行一些程序时,它仍在运行。

How to remove python3.5 completely from the machine?如何从机器中完全删除python3.5?

You remove python3.5-minimal (as root) with:您使用以下命令删除 python3.5-minimal(以 root 身份):

apt remove python3.5-minimal

Review the output to ensure you are cool with dependencies also being removed before proceeding.查看 output 以确保您在继续之前也删除了依赖项。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM