这个案例告诉我们,千万不要动系统自带的 Python,Win系统除外文 | fanzhenyu
出处 | http://fanzhenyu.cn/由于无知,卸载 Ubuntu 自带的 python3 引发惨案,谨记,深刻反思。惨案由于实验需要使用 Python3.6 以上版本,于是决定卸载 Python3.5。# 卸载 python3.5$ sudo apt-get remove python3.5没用,终端输入 python3 还是可以使用。于是,网上查找卸载python3.5的方法:# 卸载 python3.5 及其依赖$ sudo apt-get remove --auto-remove python3.5# 清除 python3.5$ sudo apt-get purge python3.5or$ sudo apt-get purge --auto-remove python3.5接下来,终端输入 python3 依然还是可以使用。# 删除链接sudo rm /usr/bin/python3然后,突然发现侧边菜单栏变灰,感觉不对劲,重启。然后,侧边菜单栏不见了,右键连打开终端的选项都没有了。于是,查找解决方
………………………………