Miniconda3-latest-MacOSX-x86_64.shMiniconda3-latest-MacOSX-arm64.sh터미널에서 다음 명령어 실행:
cd ~/Downloads
bash Miniconda3-latest-MacOSX-arm64.sh # (M1/M2 칩)
# 또는
bash Miniconda3-latest-MacOSX-x86_64.sh # (Intel 칩)
설치 중 질문 응답:
yes~/miniconda3) 추천 → Enterconda init 실행 여부: yessource ~/.bashrc # bash 사용 시
# 또는
source ~/.zshrc # zsh (macOS 기본 쉘) 사용 시
conda --version
conda config --remove channels defaults
conda config --add channels conda-forge
conda config --set channel_priority strict
conda config --show channels
정상적으로 설정되면 다음과 같이 출력됩니다:
channels:
- conda-forge
conda config --show channels
conda config --show-sources
conda list <패키지명>
conda config --show channel_priority
conda create -n myenv python=3.10
conda activate myenv # 활성화
conda deactivate # 비활성화
conda install numpy # conda-forge에서 설치
pip install package # PyPI에서 설치
conda-forge를 기본으로 사용하는 Mambaforge도 고려해볼 수 있습니다:
mamba 패키지 매니저 포함nano ~/.condarc
# 또는
nano ~/.conda/config.yaml- defaults 라인 삭제 후 저장conda info
defaults → conda-forge로 변경 필요