将python 命令添加到环境变量中:
将python 命令添加到环境变量中:
echo 'export PATH=$PATH:/usr/local/python-3.10/bin' > /etc/profile.d/python-3.10.sh source /etc/profile.d/python-3.10.sh
输出PATH查看是否添加成功:
echo $PATH
将python 命令添加到环境变量中:
echo 'export PATH=$PATH:/usr/local/python-3.10/bin' > /etc/profile.d/python-3.10.sh source /etc/profile.d/python-3.10.sh
输出PATH查看是否添加成功:
echo $PATH