0
-bash: /usr/local/bin/python: No such file or directory
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=/usr/local/bin/python and that PATH is
set properly.
我在bash中运行tmux时出现此错误。我不确定这会产生什么影响,但我认为它与我的bashrc中python的错误路径有关。我检查了我的bashrc,它在最后有这个,所以它匹配错误消息。我真的不知道如何解决这个问题,我试过用Anaconda重新安装python。Virtualenvwrapper python bash error
# virtualenv and virtualenvwrapper
export WORKON_HOME=/home/clu/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
是python在那里安装的吗? '哪个python'给你什么路径? – Fred
哪个python给我/ home/clu/anaconda3/bin/python – Char