ubuntu默认python版本切换(python2与python3)

电脑上面有些脚本是python2的,有些是python3的,可是系统默认是python2,须要设置环境变量来进行切换.python python2切换到python3:bash echo alias python=python3 >> ~/.bashrc source ~/.bashrc python3切换到python2:code gedit ~/.bashrc # alias python=
相关文章
相关标签/搜索