自学内容网 自学内容网

conda环境下pip命令不可用

1. 激活conda环境报错

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’.

输入 source activate再激活

conda环境下pip命令不可用。

参考链接 https://cloud.tencent.com/developer/ask/sof/104967883

在这里插入图片描述
export PIP_REQUIRE_VIRTUALENV=false


原文地址:https://blog.csdn.net/m0_70420861/article/details/140614554

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!