当前位置:   article > 正文

Pycharm里遇到CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’_pycharm commandnotfounderror: your shell has not b

pycharm commandnotfounderror: your shell has not been properly configured to

学习笔记

在创建conda环境时,遇到问题:

  1. CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
  2. If using 'conda activate' from a batch script, change your
  3. invocation to 'CALL conda.bat activate'.
  4. To initialize your shell, run
  5.     $ conda init <SHELL_NAME>
  6. Currently supported shells are:
  7.   - bash
  8.   - cmd.exe
  9.   - fish
  10.   - tcsh
  11.   - xonsh
  12.   - zsh
  13.   - powershell
  14. See 'conda init --help' for more information and options.
  15. IMPORTANT: You may need to close and restart your shell after running 'conda init'.

我们可以

修改环境变量,例如

D:\Anaconda\Scripts 
改成
D:\Anaconda\condabin

方法鉴于pyCharm Terminal CommandNotFoundError: Your shell has not been properly configured to use ‘conda ac_pycharm commandnotfounderror: your shell has not b_条件漫步的博客-CSDN博客

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/585311
推荐阅读
相关标签
  

闽ICP备14008679号