Ubuntu 中python 升级到3 后apt-get 一直报错
生活随笔
收集整理的这篇文章主要介绍了
Ubuntu 中python 升级到3 后apt-get 一直报错
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
系统强制使用了新版本的python3.0之后,系统更新软件安装软件报错。解决方式如下。
sudo update-alternatives –config python
-> change to python2.7 instead of 3.5
sudo apt install apport –reinstall
总结
以上是生活随笔为你收集整理的Ubuntu 中python 升级到3 后apt-get 一直报错的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Ubuntu 中python 2 升级
- 下一篇: python assert 断言的作用