使得conda生效:
若conda安装到/home/用户名/下,
则export PATH="~/anaconda3/bin:"$PATH
然后source ~/.bashrc
解决每次登陆时都需要 source ~/.bashrc 才能使得进入conda的问题
vi ~ /.bash_profile
添加
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ] ; then
source ~/.bashrc
fi
这样就OK啦