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=
相關文章
相關標籤/搜索