大家好,又见面了,我是你们的朋友全栈君。
Ubuntu系统下不要轻易卸载系统自带的python(2.7、3.5),因为Ubuntu依赖python环境。
惨痛经历:
卸载python3.5(作死)
sudo apt-get remove python3.5 #
卸载python3.5
sudo apt-get remove –auto-remove python3.5 #卸载python3.5及其依赖
sudo apt-get purge python3.5 或 sudo apt-get purge –auto-remove python3.5 #清除python3.5
后果:第一条命令之后
意识到不对劲,我赶紧终止…然…(炸了,重装系统了)
幸亏不在服务器上(狗头保命0_0!)
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/139078.html原文链接:https://javaforall.cn