源bashrc中用于激活虚拟环境的错误

时间:2018-12-05 21:29:45

标签: python bash virtualenv

我想激活conda创建的python virtual_env。因此,我需要以下三个命令:

source ~/.bashrc
export PATH=~/anaconda3/bin:$PATH
source activate my_env

但是在源〜/ .bashrc中,出现以下错误:

bash: groups: command not found
bash: awk: command not found
bash: whoami: command not found

解决方案是什么?

0 个答案:

没有答案
相关问题