我正在尝试为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用户,但不能作为其他用户使用。如何使它适用于所有用户?
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句