我在我的Ubuntu16.04LTS系统上安装了Python3.9,另外还安装了系统附带的默认2.7和3.5。我可以通过键入python3.9完全调用它,还可以使用pip3.9命令。
我想从系统中删除它,重新安装它,或者更早版本的python。
我已经试过sudo apt-get remove python3.9,sudo apt-get autoremove python3.9,sudo apt-get purge python3.9,sudo apt-get remove --purge python3.9和sudo apt-get autoremove --purge python3.9了。似乎都没有效果。
当我打电话给python3.9时,它就来了:
Python 3.9.0 (default, Nov 14 2020, 00:35:31)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>我怎么才能解决这个问题?Thx
发布于 2020-12-13 16:42:11
发布于 2021-04-21 13:35:31



发布于 2021-07-30 16:29:11
在ubuntu20.04.2中,我遇到了类似的问题,下面的步骤修复了python依赖
sudo apt-get clean
sudo apt-get autoremove --purge
sudo apt-get remove python3.9
sudo apt-get autoremove
sudo apt --fix-broken install https://askubuntu.com/questions/1292504
复制相似问题