일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Java
- gas
- google apps script
- SQL
- c#
- matplotlib
- Apache
- Redshift
- math
- Tkinter
- PANDAS
- PySpark
- string
- dataframe
- Mac
- Kotlin
- list
- django
- GIT
- Python
- Excel
- Github
- 파이썬
- Google Spreadsheet
- Google Excel
- numpy
- hive
- PostgreSQL
- array
- Today
- Total
목록분류 전체보기 (832)
달나라 노트
아래 명령어를 이용하면 설치된 Python library를 삭제할 수 있습니다. pip uninstall module_name 만약 anaconda interpreter를 사용하고 있고 conda에 설치된 module을 삭제하고 싶다면 아래 명령어를 사용하면 됩니다. conda remove module_name pip uninstall pandas conda remove numpy 예를 들면 위와 같습니다.
아래처럼 pip install 명령어는 어떤 모듈을 설치해줍니다. pip install module_name pip install module_name==1.0.5 만약 특정 버전의 라이브러리를 설치하고 싶다면 위처럼 모듈 이름 옆에 버전정보를 등호 2개와 함께 적어주면 됩니다. (기존에 이미 설치된 모듈이라면 기존에 설치된 모듈은 삭제한 후 명시한 버전으로 재설치합니다.) pip install pandas pip install pandas==1.2.0 예시를 들면 위와 같습니다. 만약 이미 설치된 모듈을 업그레이드하고싶으면 아래와같이 -U 옵션을 붙여주면 됩니다. pip install -U module_name
아래처럼 pip show 명령어를 이용하면 어떤 Python library의 상세한 정보를 볼 수 있습니다. pip show module_name pip show pandas 예를들어 현재 제 컴퓨터에 설치된 pandas의 상세정보를 보려고 할 때 위처럼 pip show pandas를 terminal에 적으면 아래와 같이 pandas에 관한 상세 정보가 나옵니다. Name: pandas Version: 1.0.5 Summary: Powerful data structures for data analysis, time series, and statistics Home-page: https://pandas.pydata.org Author: None Author-email: None License: BSD Lo..
psycopg2를 새로운 컴퓨터에서 설치하거나 또는 version이 업그레이드되거나 한다면 아래와 같은 Error가 발생할 때가 있습니다. Error: pg_config executable not found 여러 가지 상황이 있겠지만 위 에러는 주로 psycopg2 가 설치되기 전 또는 psycopg2가 업그레이드되면서 psycopg2에 필요한 다른 모듈들을 찾지 못하기 때문일 가능성이 큽니다. Python interpreter 사용 pip install postgresql Conda interpreter 사용 conda install postgresql 어떤 interpreter를 사용하고 있는지에 따라 위 2개의 명령어 중 하나를 terminal에 입력하여 postgresql 라이브러리를 설치해줍시다..