环境变量错误,
Tofloor
poster avatar
yumos
deepin
2019-11-03 03:16
Author
我瞎写了一个 echo -e "export PATH=PYTHON_HOME" >>~/.bashrc && source ~/.bashrc
就变成了这样,如何能够恢复系统环境变量,sudo ,apt 都不能用了
Reply Favorite View the author
All Replies
avatar
ritter
deepin
2019-11-03 03:39
#1
把export PATH=PYTHON_HOME删掉,重启一下bash,就没问题了。
Reply View the author
avatar
yumos
deepin
2019-11-04 20:31
#2
ritter 发表于 2019-11-2 19:39
把export PATH=PYTHON_HOME删掉,重启一下bash,就没问题了。

谢谢你
Reply View the author