我正在尝试使用 sudo do-release-update
将 Ubuntu 从版本 18 升级到版本 20 ,但是它提示我的 Python 已损坏:Your python3 install is corrupted. Please fix the '/usr/bin/python3' symlink.
我知道几个月前我用 Python 搞砸了,让一个有缺陷的项目在我的机器上运行,但现在我不知道如何解决这个问题。我尝试使用 apt 卸载并重新安装 Python,但它并没有解决我的问题。我也试过unalias python
没有成功。
我该如何解决?
最佳答案
尝试这个:
sudo apt-get install --reinstall python3
问题可能是 Ubuntu 20 使用的默认 python3 版本与 Ubuntu 18 不同。
关于python - 升级 Ubuntu : python3 install is corrupted,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68872111/