つまずいていること
open ~/.bash_profileで開いたファイル⬇︎で、どこを削除すれば良いか
text
1# Setting PATH for Python 3.7 2# The original version is saved in .bash_profile.pysave 3PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" 4export PATH 5 6# Setting PATH for Python 3.6 7# The original version is saved in .bash_profile.pysave 8PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}" 9export PATH 10# added by Anaconda3 2018.12 installer 11# >>> conda init >>> 12# !! Contents within this block are managed by 'conda init' !! 13__conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" 14if [ $? -eq 0 ]; then 15 \eval "$__conda_setup" 16else 17 if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then 18 . "/anaconda3/etc/profile.d/conda.sh" 19 CONDA_CHANGEPS1=false conda activate base 20 else 21 \export PATH="/anaconda3/bin:$PATH" 22 fi 23fi 24unset __conda_setup 25# <<< conda init <<< 26
この1行⬇︎だけ削除すれば良いのか、
\export PATH="/anaconda3/bin:$PATH"
それとも全部⬇︎削除するのか
# added by Anaconda3 2018.12 installer # >>> conda init >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" if [ $? -eq 0 ]; then \eval "$__conda_setup" else if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then . "/anaconda3/etc/profile.d/conda.sh" CONDA_CHANGEPS1=false conda activate base else \export PATH="/anaconda3/bin:$PATH" fi fi unset __conda_setup # <<< conda init <<<
anacondaのアンインストールで参考にしたサイト
すみませんが、よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/01/07 05:00