일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- checkbox
- DataTables
- JQuery
- 가상환경
- 맥코트
- 분노
- Python
- 원한
- LOG
- 말라키
- STS
- 파이썬
- Anaconda
- HMI
- error
- Eclipse
- ORA-28002
- 명령어
- build
- pythoncom37.dll
- Custom
- geckodriver
- SCADA
- Linux
- 리눅스
- Today
- Total
2010년 5월 1일, 2막
[python] anaconda 사용법 본문
출처 : 아나콘다(Anaconda) 키워드 :: 학습러의 라이브러리 (tistory.com)
[버전확인]
conda --version
[아나콘다 업데이트]
conda update conda
[라이브러리(패키지)명과 버젼확인]
conda list
[라이브러리(패키지) 설치 및 업데이트]
conda install 라이브러리명 conda update 라이브러리명 conda update --all #설치되어있는 라이브러리 전체 업데이트
- PackagesNotFoundError
PackagesNotFoundError: The following packages are not available from current channels:
conda install에서 가장 흔히 발생하는 오류 중 하나로 conda에서 패키지를 다운로드하려는 기본 채널에 패키지가 존재하지 않는 경우 발생하는데 다음과 같이 해결 가능
conda install -c conda-forge 패키지명 # -c 채널 옵션에 conda-forge를 주어서 패키지를 다운로드한다. # Conda-forge 는 anaconda에서 쉽게 설치할 수 있도록 검증된 파이썬 패키지들을 모아 놓은 하나의 채널 이다.
[라이브러리(패키지) 삭제]
conda remove 라이브러리명
[라이브러리(패키지) 검색]
conda search 라이브러리명
[가상환경 목록확인]
conda env list conda info --envs conda info -e
[기타 Tip]
# anaconda prompt의 사용 가능한 커맨드 목록을 확인 conda -h conda --help conda help
<결과값> Options: positional arguments: command clean Remove unused packages and caches. config Modify configuration values in .condarc. This is modeled after the git config command. Writes to the user .condarc file (C:\Users\cceed\.condarc) by default. create Create a new conda environment from a list of specified packages. help Displays a list of available conda commands and their help strings. info Display information about current conda install. init Initialize conda for shell interaction. [Experimental] install Installs a list of packages into a specified conda environment. list List linked packages in a conda environment. package Low-level conda package utility. (EXPERIMENTAL) remove Remove a list of packages from a specified conda environment. uninstall Alias for conda remove. run Run an executable in a conda environment. [Experimental] search Search for packages and display associated information. The input is a MatchSpec, a query language for conda packages. See examples below. update Updates conda packages to the latest compatible version. upgrade Alias for conda update.
conda 커맨드명 -h conda 커맨드명 --help # anaconda prompt의 사용 가능한 커맨드의 사용방법 과 -c, -v 등등 옵션에 관한 정보를 확인할 수 있다.