CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run
时间: 2023-09-25 13:14:49 浏览: 227
回答: 当你看到"CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'"这个错误消息时,它表示你的shell没有正确配置以使用'conda activate'命令。为了初始化你的shell,你需要运行以下命令:$ conda init <SHELL_NAME>。其中,<SHELL_NAME>是你当前使用的shell的名称,可以是bash、fish、tcsh、xonsh、zsh、powershell之一。在运行完这个命令后,你可能需要关闭并重新打开你的shell才能生效。如果你是在批处理脚本中使用'conda activate'命令,并且出现了相同的错误消息,那么你需要将命令改为'CALL conda.bat activate'。 [1][2][3<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. To ...](https://blog.csdn.net/moshang_3377/article/details/126480741)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘....](https://blog.csdn.net/aoimono/article/details/116879845)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文