VirtualEnvrapper python bash错误

VirtualEnvrapper python bash错误,python,bash,Python,Bash,我在bash中运行tmux时遇到这个错误。我不确定这会产生什么影响,但我认为这与bashrc中python的错误路径有关。我检查了我的bashrc,它在最后有这个,所以它匹配错误消息。我真的不知道如何修复这个问题,我已经尝试用Anaconda重新安装python -bash: /usr/local/bin/python: No such file or directory virtualenvwrapper.sh: There was a problem running the initiali

我在bash中运行tmux时遇到这个错误。我不确定这会产生什么影响,但我认为这与bashrc中python的错误路径有关。我检查了我的bashrc,它在最后有这个,所以它匹配错误消息。我真的不知道如何修复这个问题,我已经尝试用Anaconda重新安装python

-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:/usr/local/bin/python:没有这样的文件或目录

似乎正在查看与您使用的目录不同的目录

尝试将虚拟说唱歌手更改为

导出virtualNVrapper_PYTHON=/home/clu/anaconda3/bin/PYTHON

如果您实际上没有安装VirtualWrapper,则可能需要安装它


pip安装virtualenv virtualenvwrapper

那里安装了python吗?
哪条python
给了你什么路径?哪条python给了我/home/clu/anaconda3/bin/python
# virtualenv and virtualenvwrapper
export WORKON_HOME=/home/clu/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python