zoukankan      html  css  js  c++  java
  • Your shell has not been properly configured to use 'conda activate'.

     # ./conda activate py38

    CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
    To initialize your shell, run

        $ conda init <SHELL_NAME>

    Currently supported shells are:
      - bash
      - fish
      - tcsh
      - xonsh
      - zsh
      - powershell

    See 'conda init --help' for more information and options.

    IMPORTANT: You may need to close and restart your shell after running 'conda init'.

    # conda init
    no change     /home/software/anaconda3/condabin/conda
    no change     /home/software/anaconda3/bin/conda
    no change     /home/software/anaconda3/bin/conda-env
    no change     /home/software/anaconda3/bin/activate
    no change     /home/software/anaconda3/bin/deactivate
    no change     /home/software/anaconda3/etc/profile.d/conda.sh
    no change     /home/software/anaconda3/etc/fish/conf.d/conda.fish
    no change     /home/software/anaconda3/shell/condabin/Conda.psm1
    no change     /home/software/anaconda3/shell/condabin/conda-hook.ps1
    no change     /home/software/anaconda3/lib/python3.8/site-packages/xontrib/conda.xsh
    no change     /home/software/anaconda3/etc/profile.d/conda.csh
    no change     /root/.bashrc
    No action taken.

    解决办法

    # 激活环境
    source activate
    # 退出环境
    source deactivate

    conda activate py38
  • 相关阅读:
    用户、群组、权限
    分页提纲
    网页分页显示
    OMR数据查询
    ORM增删改查询例题
    人工智能将推动云存储和数据服务的创新
    如何在智能家居中提高IoT安全性?
    云计算是物联网的重要支柱
    一个高薪的码农,应具备的8种能力
    如何跨越比特币的认知障碍?
  • 原文地址:https://www.cnblogs.com/emanlee/p/14402899.html
Copyright © 2011-2022 走看看