From 8a4993ccf96a91113a5e09b442adc01f554310d6 Mon Sep 17 00:00:00 2001 From: Jaewook Lee <11328376+jaewooklee93@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:48:55 +0900 Subject: [PATCH] update conda case --- debian-python3-pip/README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/debian-python3-pip/README.md b/debian-python3-pip/README.md index 4c1266d..cfea72f 100644 --- a/debian-python3-pip/README.md +++ b/debian-python3-pip/README.md @@ -45,5 +45,25 @@ $ pip install jupyterlab $ which jupyter /home/.../.venv/bin/jupyter /home/.../.venv/bin/streamlit +``` -``` \ No newline at end of file +- `anaconda`를 사용하던 경우 `.bashrc`에서 >>> 부터 <<< 사이의 내용을 제거해주어야 한다. +- `~/anaconda` 폴더가 있다면 그냥 지워도 된다. +```sh +$ vi ~/.bashrc + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/me/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/me/anaconda3/etc/profile.d/conda.sh" ]; then + . "/home/me/anaconda3/etc/profile.d/conda.sh" + else + export PATH="/home/me/anaconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +``` \ No newline at end of file