1. update-alternatives --install /usr/bin/python python /usr/bin/python3 10update-alternatives --install /usr/bin/python python /usr/bin/python3 10
    (This gives a priority of 10 for the path of python3. The disadvantage of editing .bashrc file is that it will not work while using the commands with sudo)

  2. pip3 install ipython

.

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐