How to remove Python 3.6 completely from Ubuntu 18.04

前端 未结 2 2157
说谎
说谎 2021-02-19 10:07

Both Python 2.7 and 3.6 are installed by default in Ubuntu 18. But I wish to use the Anaconda Python with conda package manager. To avoid any conflicts I wish to completely remo

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 10:35

    Ubuntu 18.04 requires python 3.6 to function. If you remove python 3.6, you won't be able to log in after a restart. Ubuntu will still have python 3.6minimal, even after uninstalling python 3.6. so you will have to remove both. Once that is done, you'll get an error that looks like this.

    https://itsfoss.com/failed-to-start-session-ubuntu-14-04/

    You can follow the above steps if you break Ubuntu.

提交回复
热议问题