
클라우드 서비스를 이용하게 되면서 거짓말 안치고 아나콘다 가상환경 설정만 50번 정도 한 것 같다.
이제 그냥 매뉴얼을 만들어 놓고 그대로 복붙만 하면 되는 지경이 되어 공유하기로 했다.
※ 경로 확인 필수
cd <설치 경로>
wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
sh Anaconda3-2023.03-1-Linux-x86_64.sh
# or bash Anaconda3-2023.03-1-Linux-x86_64.sh
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>>
You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:
eval "$(/home/ryu/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)"
To install conda's shell functions for easier access, first activate, then:
conda init
If you'd prefer that conda's base environment not be activated on startup,
set the auto_activate_base parameter to false:
conda config --set auto_activate_base false
Thank you for installing Anaconda3!eval "$(<conda 설치한 경로>/anaconda3/bin/conda shell.bash hook)"
bash 또는 conda actiavte 를 입력했을 때 바로 (base)가 뜨면서 아나콘다 기본 가상환경이 activate 됨을 의미Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: → 무한 돌기 ※ 위 현상 (아나콘다 가상환경 생성 안됨)의 원인이 이거 하나라고 할 순 없지만, 아나콘다 버전을 업데이트 해주면 어처구니 없게도 해결되는 경우가 종종 있다.conda update -n base conda
conda update --all
cd /home/work/
wget https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh
sh Anaconda3-2023.03-1-Linux-x86_64.sh
eval "$(/home/work/anaconda3/bin/conda shell.bash hook)"
conda update -n base conda
y