安装了多个anaconda导致的冲突问题

 

echo $PATH

/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/bin
/home/software/anaconda3/envs/mydlenv/bin
/home/software/anaconda3/condabin
/root/perl5/bin
/home/user01/anaconda3/bin
/home/software/nanopolish/nanopolish
/root/.local/bin
/usr/local/python3/bin
/home/software/cufflinks-2.1.1.Linux_x86_64
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/root/bin
/home/software/cuda-10.0/bin

 

# which jupyter
/home/user01/anaconda3/bin/jupyter

 

修改/etc/profile文件, 【https://www.cnblogs.com/emanlee/p/3464094.html
vi /etc/profile
在适当位置 删除 /home/user01/anaconda3/bin
然后
source /etc/profile
这个对所有用户都起作用

 

# which jupyter
/home/software/anaconda3/bin/jupyter

 

 

https://blog.csdn.net/chinabing/article/details/127152243

 

posted @ 2023-01-28 15:02  emanlee  阅读(282)  评论(0编辑  收藏  举报