Linux----切换python版本(ln: failed to create symbolic link ‘/usr/bin/python’: File exists)

问题描述:

ln -s /usr/local/bin/python3.6 /usr/bin/python

Linux服务器报错:

ln: failed to create symbolic link ‘/usr/bin/python’: File exists

解决方法:

ln -sf /usr/local/bin/python3.6 /usr/bin/python

参考博客:https://blog.csdn.net/weixin_44065501/article/details/101478510

作者:柒月
Q群 :2122210(嵌入式/机器学习)
原文地址:https://www.cnblogs.com/Ph-one/p/15239171.html