How to make python3.2 interpreter the default interpreter in debian

后端 未结 5 1011
走了就别回头了
走了就别回头了 2021-02-05 09:38

I got both python2 and python3 installed in my debian machine. But when i try to invoke the python interpreter by just typing \'python\' in bash, python2 pops up and not python3

5条回答
  •  长发绾君心
    2021-02-05 10:11

    Others have adviced you about the possible drawbacks, so, on the issue at hand:

    ln -s $(which python3) /usr/local/bin/python
    

提交回复
热议问题