美文网首页
Linux下更改Python的软连接

Linux下更改Python的软连接

作者: 非问 | 来源:发表于2018-05-12 14:36 被阅读0次

1.linux的软连接存放位置

cd /usr/bin

2.查看现有python的软连接指向的版本

ls -al *python*

3.删除旧的软连接

rm python

4.建立新的软连接

ln -s python3.5 python

5.查看软连接版本

python -V


如果顺利,Python的软连接就更新了。

相关文章

网友评论

      本文标题:Linux下更改Python的软连接

      本文链接:https://www.haomeiwen.com/subject/kdthdftx.html