每次关闭终端再打开时。使用workon切换虚拟环境时会报一个命令没有被定义
然后就刷新/usr/local/bin/virtualenvwrapper.sh文件就会报错:/Library/Developer/CommandLineTools/usr/bin/python3: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')
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/bin/python3 and that PATH is
set properly.
此时workon又可以使用了。求帮忙解决