Python 使用anaconda提示符一切正常,但当我尝试使用gitbash并使用pip或sudo:command时,没有找到

Python 使用anaconda提示符一切正常,但当我尝试使用gitbash并使用pip或sudo:command时,没有找到,python,git,Python,Git,当我使用anaconda提示符运行所有内容时,我不会遇到任何问题。我一直在尝试使用GitBash创建一个虚拟环境,但在使用pip或pip3时,我收到了指定“commandnotfound”的错误消息。有点困惑,因为我使用anaconda提示符没有问题。我正在使用Windows 更多上下文:当我运行命令python-mpipinstallvirtualenv时,我得到“权限被拒绝” 在Git Bash中 有关更多详细信息,请参阅 这假设您在windows上&您已将conda/miniconda安装

当我使用anaconda提示符运行所有内容时,我不会遇到任何问题。我一直在尝试使用GitBash创建一个虚拟环境,但在使用pip或pip3时,我收到了指定“commandnotfound”的错误消息。有点困惑,因为我使用anaconda提示符没有问题。我正在使用Windows

更多上下文:当我运行命令
python-mpipinstallvirtualenv
时,我得到“权限被拒绝”

在Git Bash中

有关更多详细信息,请参阅


这假设您在windows上&您已将conda/miniconda安装到当前用户。

刚刚运行了它。返回“bash:conda:Permission denied”您是否在windows上?您是否为所有用户安装了Conda?还是只为你?是的,我在windows上。我假设我为所有用户下载了Conda,因为它是我的个人桌面,我是唯一的用户。我运行编辑的行,它返回
bash:activate:command not found
> $LOCALAPPDATA$\Continuum\anaconda3\Scripts\conda activate base