본문 바로가기

Information Science Study/Python

[Python] 아나콘다(Anaconda) 사용법/명령어 정리

Python 가상환경도구 Anaconda 명령어

 

아나콘다 설치

https://www.anaconda.com/

 

아나콘다 관리
# 아나콘다 버젼 확인
conda --version

# 아나콘다 업데이트
conda update conda

# 캐시 삭제
conda clean -all

 

가상환경 생성 및 삭제
# 가상환경 생성
# 32BIT 환경 생성 시
set CONDA_FORCE_32BIT=1
conda create --name example python=3.7 anaconda
conda config --env --set subdir win-32

#가상환경 삭제
conda remove --name example --all

 

가상환경 사용
#활성화
conda activate example
#비활성화
conda deactivate example

# 패키지 설치
conda instal [package_name]

# 패키지 삭제
conda remove -n [package_name] --all

 

가상환경 확인
#가상환경 리스트 확인
conda info --envs

 

'Information Science Study > Python' 카테고리의 다른 글

[Python] Class로 스택 구현하기 코드  (0) 2022.05.03