創(chuàng)建軟連接
python -V 查看當(dāng)前python運行版本
which python 查看python在那個文件夾下
進(jìn)入python安裝路徑bin目錄
ls -al python 查看python的連接
rm python(移除python軟連接)
ln -s python2 python 創(chuàng)建python2軟連接指定python運行版本
python -V 查看當(dāng)前python運行版本
which python 查看python在那個文件夾下
進(jìn)入python安裝路徑bin目錄
ls -al python 查看python的連接
rm python(移除python軟連接)
ln -s python2 python 創(chuàng)建python2軟連接指定python運行版本