Anaconda - noweaver/odds-and-ends GitHub Wiki

콘다 사용법

$ conda --version                               // 아나콘다 버전 확인
$ conda update conda                            // 아나콘다 업데이트

$ conda create -n jupyter-env python=3.6        // 아나콘다 가상환경 생성
$ conda create --name jupyter-env python=3.6    // 아나콘다 가상환경 생성
$ conda remove -y -name jupyter-env --all       // 아나콘다 가상환경 제거   
$ conda remove -y -n jupyter-env --all          // 아나콘다 가상환경 제거   

$ conda env list                                // 가상환경 리스트
$ conda info --envs                             // 가상환경 리스트


$ activate jupyter-env                          // 가상환경 활성화
$ deactivate jupyter-env                        // 가상환경 비활성화

$ conda install jupyter                         // jupyter 패키지 설치
$ conda list                                    // 패키지 리스트 확인
$ conda update jupyter                          // 패키지 업데이트
$ conda remove jupyter                          // 패키지 제거

$ conda clean --all                             // 캐시 삭제
$ conda clean -a                                // 캐시 삭제

콘다 패키지 설치 에러

$ conda update anaconda
Solving environment: ...working... failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/msys2/noarch/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/msys2/noarch/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')])")))'))


$ conda config --set ssl_verify no
$ conda update anaconda
Solving environment: ...working... done

# All requested packages already installed.


$ conda install -y pandas
Solving environment: ...working... done

# All requested packages already installed.