sourceコマンドを実行しようとした際に
terminalを立ち上げる時に以下のエラーを出してしまします。
vimコマンドに詳しくなく色々調べたのですが出てこず質問させていただきました。
同じようなエラーは見かけたのですが、解決方法にたどり着けませんでした。
これ以上分からずに触るのが怖くなってしまい質問させていただいています。
どなたかお教えいただけないでしょうか。
お願いいたします。
error
1-bash: /Users/******/.bash_profile: line 79: syntax error: unexpected end of file
bashprofile
1export PATH=/usr/local/bin:$PATH 2# added by Anaconda3 2019.03 installer 3# >>> conda init >>> 4# !! Contents within this block are managed by 'conda init' !! 5__conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" 6if [ $? -eq 0 ]; then 7 \eval "$__conda_setup" 8else 9 if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then 10# . "/anaconda3/etc/profile.d/conda.sh" # commented out by conda initialize 11 CONDA_CHANGEPS1=false conda activate base 12 else 13 \export PATH="/anaconda3/bin:$PATH" 14 fi 15fi 16unset __conda_setup 17# <<< conda init <<< 18 19# Setting PATH for Python 3.7 20# The original version is saved in .bash_profile.pysave 21PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" 22export PATH 23# added by Anaconda3 2019.07 installer 24# >>> conda init >>> 25# !! Contents within this block are managed by 'conda init' !! 26__conda_setup="$(CONDA_REPORT_ERRORS=false '/Users/nakanokaoru/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" 27if [ $? -eq 0 ]; then 28 \eval "$__conda_setup" 29else 30 if [ -f "/Users/nakanokaoru/anaconda3/etc/profile.d/conda.sh" ]; then 31# . "/Users/nakanokaoru/anaconda3/etc/profile.d/conda.sh" # commented out by conda initialize 32 CONDA_CHANGEPS1=false conda activate base 33 else 34 \export PATH="/Users/nakanokaoru/anaconda3/bin:$PATH" 35 fi 36fi 37unset __conda_setup 38# <<< conda init <<< 39export PYENV_ROOT="$HOME/.pyenv" 40export PATH="$PYENV_ROOT/bin:$PATH" 41eval "$(pyenv init -)" 42# >>> conda initialize >>> 43# !! Contents within this block are managed by 'conda init' !! 44__conda_setup="$('/Users/nakanokaoru/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" 45if [ $? -eq 0 ]; then 46 eval "$__conda_setup" 47else 48 if [ -f "/Users/nakanokaoru/anaconda3/etc/profile.d/conda.sh" ]; then 49 . "/Users/nakanokaoru/anaconda3/etc/profile.d/conda.sh" 50 else 51 export PATH="/Users/nakanokaoru/anaconda3/bin:$PATH" 52 fi 53fi 54unset __conda_setup 55# <<< conda initialize <<< 56 57# added by Anaconda3 2019.10 installer 58# >>> conda init >>> 59# !! Contents within this block are managed by 'conda init' !! 60__conda_setup="$(CONDA_REPORT_ERRORS=false '/Users/nakanokaoru/opt/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" 61if [ $? -eq 0 ]; then 62 \eval "$__conda_setup" 63else 64 if [ -f "/Users/nakanokaoru/opt/anaconda3/etc/profile.d/conda.sh" ]; then 65 . "/Users/nakanokaoru/opt/anaconda3/etc/profile.d/conda.sh" 66 CONDA_CHANGEPS1=false conda activate base 67 else 68 \export PATH="/Users/nakanokaoru/opt/anaconda3/bin:$PATH" 69 fi 70fj 71unset __conda_setup 72export PATH="$HOME/.pyenv" 73# <<< conda init <<< 74export PATH="/usr/local/sbin:$PATH" 75if [ -f ~/.bashrc ]; then 76 . ~/.bashrc 77fi
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/06/12 14:01
2020/06/12 14:34