我使用的许多应用程序(arandr,inkscape,.)当update-alternatives --config python将默认Python版本设置为Python-3时,就会崩溃。
我如何防止自己在将来将默认Python版本设置为Python-3,就像我们在/etc/resolv.conf by chattr +i /etc/resolv.conf中所做的那样?
发布于 2021-02-14 20:04:20
如何防止自己将来将默认的Python版本设置为Python-3?
从update-alternatives中删除python版本:
sudo update-alternatives --remove-all python以后,请执行以下命令
sudo update-alternatives --config python将向你展示:
update-alternatives: error: no alternatives for python3 https://unix.stackexchange.com/questions/634459
复制相似问题