2de*_*lta 6 python fish conda visual-studio-code
当我在 VS Code 中打开终端并自动激活环境时,会发生以下情况:
Welcome to fish, the friendly interactive shell
luka@Lukas-MBP ~/D/e/p/collatz-conjecture> source /Users/luka/miniconda3/bin/activate (base)
~/miniconda3/bin/activate (line 5): 'return' outside of function definition
\. "$_CONDA_ROOT/etc/profile.d/conda.sh" || return $?
^
from sourcing file ~/miniconda3/bin/activate
called on standard input
source: Error while reading file '/Users/luka/miniconda3/bin/activate'
luka@Lukas-MBP ~/D/e/p/collatz-conjecture> conda activate base (base)
Run Code Online (Sandbox Code Playgroud)
如何防止 VS Code 调用这两个命令并且仅使用conda activate base,同时仍然使用自动环境激活功能。
| 归档时间: |
|
| 查看次数: |
623 次 |
| 最近记录: |