Anaconda Navigatorからターミナルを開こうとしたところ、
[プロセスが完了しました]
と表示されました。
ターミナルだけでなく、Jupyter Notebook と iPython 同じく開ませんでした。
調べてみるとつい最近ターミナルの設定を「bash」から「zsh」に変えて事が影響しているようでしたので、以下のコマンドによりzshの設定をしました。
zsh
1% open ~/.bash_profile 2% touch .zshrc 3% open ~/.zshrc
.bash_profileに書かれていた、「export PATH="/Users/[ユーザー名]/opt/anaconda3/bin:$PATH」を.zshrcに記述しました。
すると今度は、
zsh
1CommandNotFoundError: Your shell has not been properly configured to use 'conda deactivate'. 2To initialize your shell, run 3 4 $ conda init <SHELL_NAME> 5 6Currently supported shells are: 7 - bash 8 - fish 9 - tcsh 10 - xonsh 11 - zsh 12 - powershell 13 14See 'conda init --help' for more information and options. 15 16IMPORTANT: You may need to close and restart your shell after running 'conda init'.
と表示されたので、以下のコマンドを入力しました。
zsh
1% conda init zsh
これによりAnaconda NavigatorからJupyter Notebook、iPython、python等は開けるようになったのですが、やはりターミナルだけが未だに開ません。
エラー内容は以下の通りです。
bash
1/Users/XXXXXX/.anaconda/navigator/a.tool ; exit; 2(base) XXXXXX@XXXXXXBookpuro ~ % /Users/XXXXXX/.anaconda/navigator/a.tool ; exit; 3/Users/XXXXXX/.anaconda/navigator/a.tool: line 1: syntax error near unexpected token `(' 4/Users/XXXXXX/.anaconda/navigator/a.tool: line 1: `bash --init-file <(echo "source activate /Users/XXXXXX/anaconda3/envs/test_app;")'
解決策が分かる方がいましたら教えていただきたいです。
よろしくお願いします。

あなたの回答
tips
プレビュー