电脑上面有些脚本是python2的,有些是python3的,但是系统默认是python2,需要设置环境变量来进行切换.
python2切换到python3:
echo alias python=python3 >> ~/.bashrc
source ~/.bashrc
电脑上面有些脚本是python2的,有些是python3的,但是系统默认是python2,需要设置环境变量来进行切换.
python2切换到python3:
echo alias python=python3 >> ~/.bashrc
source ~/.bashrc
ubuntu怎么切换到root用户,我们都知道使用su root命令,去切换到root权限,此时会提示输入密码,可是怎输入命令:s
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M