问题

错误场景:

1
2
3
➜  ~ /Users/bing/.anaconda/navigator/a.tool ; exit;
/Users/bing/.anaconda/navigator/a.tool: line 1: syntax error near unexpected token `('
/Users/bing/.anaconda/navigator/a.tool: line 1: `bash --init-file <(echo "source activate /Users/bing/opt/anaconda3/envs/my-opencv;")'

临时解决方法

切换到bash

1
chsh -s /bin/bash

通过condaGUI,打开命令行后,再切换到zsh

1
chsh -s /bin/zsh

参考