RUBY
[CRIME] 5. Python 모듈 설치하기(pip, conda) 본문
서울시 범죄 현황 데이터 분석 프로젝트
5. Python 모듈 설치하기(pip, conda)
pip 명령
- Python의 공식 모듈 관리자
- pip list : 현재 설치된 모듈 리스트를 반환한다.
- pip install module_name : 모듈 설치
- pip unimstall module_name : 설치된 모듈을 제거한다.
get_ipython().system("pip list")
conda 명령
pip를 사용하면 conda환경에서 dependency 관리가 정확하지 않을 수 있다
아나콘다에서는 가급적 conda 명령으로 모듈을 관리하는 것이 좋다.
- conda list : 설치된 모듈 list
- conda install module_name : 모듈 설치
- conda uninstall module_name : 모듈 제거
- conda install -c channel_name module_name
- 지정된 배포 채널에서 모듈 설치
'데이터 분석 > EDA_웹크롤링_파이썬프로그래밍' 카테고리의 다른 글
[CRIME] 7. Python의 반복문 (0) | 2023.02.03 |
---|---|
[CRIME] 6. Google Maps API설치하기 (0) | 2023.02.03 |
[CRIME] 4. Pandas Pivot Table (0) | 2023.02.03 |
[CRIME] 3. 데이터 확인하고 초기 정리하기 (0) | 2023.02.03 |
[CRIME] 2. 데이터 얻기 (0) | 2023.02.03 |
Comments