我正在尝试为 ubuntu 18.04 上的所有用户安装 anaconda。我在 /root/anaconda3 安装了 anaconda。之后,我在 /etc/environment 中编辑了路径以包含 anaconda 路径。当我以用户身份登录时,我可以看到路径为
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/anaconda3/bin:/snap/bin: No such file or directory
我不知道为什么没有这样的文件或目录出现。当我尝试运行 python 时,它没有检测到 python。
Command 'python' not found, but can be installed with:
apt install python3
apt install python
apt install python-minimal
Ask your administrator to install one of them.
You also have python3 installed, you can run 'python3' instead.
我想使用 anconda 的 python。我可以将 anaconda python 用作 root 用户,但不能用作其他用户。我如何使它适用于所有用户?
慕哥6287543
相关分类