我在~/.bashrc里面写了export WORKON_HOME=$HOME/.virtualenvs 和 source /usr/local/bin/virtualenvwrapper.sh 但是,每次source ~/.bashrc,都会报错:bash: /home/zhaoyang/anaconda/bin/python: 没有那个文件或目录
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/home/zhaoyang/anaconda/bin/python and that PATH is
set properly.
可是,奇怪的是,虽然报错了,但是虚拟环境已经可以用了,workon 指令也能用了,创建出来的虚拟环境也在指定的目录下。但每次workon 虚拟环境名,都会报这样的错误:bash: /home/zhaoyang/anaconda/bin/python: 没有那个文件或目录
bash: /home/zhaoyang/anaconda/bin/python: 没有那个文件或目录
bash: /home/zhaoyang/anaconda/bin/python: 没有那个文件或目录
bash: /home/zhaoyang/anaconda/bin/python: 没有那个文件或目录
大神们!我该怎么办,虽然我不是处女座,但真心不想凑活!不想计算机老报错了。谢谢!