linux/ubuntu下指定python运行版本

linux/ubuntu下指定python运行版本

创建软连接
python -V 查看当前python运行版本
which python 查看python在那个文件夹下
进入python安装路径bin目录
ls -al python 查看python的连接
rm python(移除python软连接)
ln -s python2 python 创建python2软连接指定python运行版本

作者:大鱼
链接:https://www.jianshu.com/p/e09829d1eee8
来源:简书

发布了7 篇原创文章 · 获赞 0 · 访问量 278

猜你喜欢

转载自blog.csdn.net/weixin_42007220/article/details/103745084