ubuntu如何切換默認python版本

1.找到python的位置 whereis python 用這個命令找到/usr/bin下的python名稱,好比個人是python-2.7和python3.6python 2.添加python-list 將兩個版本的python放置在update-alternatives中。 後面的數字表示版本的優先級web update-alternatives --install /usr/bin/pyth
相關文章
相關標籤/搜索