VScode 出现 CommandNotFoundError 错误
发布时间
阅读量:
阅读量
在配置完成后使用VScode后,在运行Python代码时遇到了错误提示
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If your shell is Bash or a Bourne variant, enable conda for the current user with
$ echo ". D:\Anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc
6. or, for all users, enable conda with
$ sudo ln -s D:\Anaconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh
The options above will permanently enable the 'conda' command, but they do NOT
put conda's base (root) environment on PATH. To do so, run
全部评论 (0)
还没有任何评论哟~
