Anaconda使用conda activate激活环境出错:CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'....
程序员文章站
2022-03-01 18:27:26
说明,在赶论文复现代码期间,服务器一直出现bug,如图: 原因是之前激活了conda的环境没有用 conda deactivate 退出环境,但是问题是我使用conda deactivate会继续出现上述bug 解决方法是,先跑一下: source deactivate 然后服务器应该会提示你:这个 ......
说明,在赶论文复现代码期间,服务器一直出现bug,如图:
原因是之前激活了conda的环境没有用 conda deactivate 退出环境,但是问题是我使用conda deactivate会继续出现上述bug
解决方法是,先跑一下:
source deactivate
然后服务器应该会提示你:这个命令已经过时了,推荐你用以下命令:
conda deactivate
这个时候根据推荐再用一下就好了!没想到这种方法解决了困扰我好久的问题,是我误打误撞试一试出来的,其实我并不知道原理,但是我一直到现在都用在这个方法,目前没有翻车过。
推荐阅读
-
Anaconda使用conda activate激活环境出错:CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'....
-
vscode CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To
-
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘解决办法
-
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. If your s
-
Anaconda使用conda activate**环境出错 CommandNotFoundError: Your shell has not been properly configured to
-
Conda activate报错 CommandNotFoundError: Your shell has not been properly configured to use ‘conda
-
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.
-
Ubuntu CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.
-
20200924 执行 conda activate 报错:CommandNotFoundError: Your shell has not been properly configured to
-
Anaconda使用conda activate激活环境出错:CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'....