250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- sqldeveloper
- LOG
- 연결
- 교차검증
- Memory
- 오라클
- psycopg2
- 쿼리
- 도커이미지
- jupyternotebook
- GPU
- 리눅스
- cpu
- postgre
- Python
- TensorFlow
- 복구
- GridSearchCV
- docker
- psql
- Jupyter
- 머신러닝
- Linux
- oracle
- Docker image
- 시계열
- 파이썬
- SQL
- 도커
- pgadmin
Archives
- Today
- Total
areum
[Python] psycopg2 설치하는 방법 본문
728x90
pip install을 통해 psycopg2를 설치하는데 계속 오류가 발생한다.
오류 : command errores out with exit status 1
해결방법
- 현재 psycopg2 권장사항 : python 버전 3.6 ~ 3.11

방법1. 버전 확인 ( python, postgresql)
python버전 확인
python --version
위 권장사항의 버전과 맞지 않는다면 업그레이드 또는 다운그레이드 진행
python -m pip install --upgrade pip
방법2. psycopg2-binary 설치
pip install psycopg2-binary
'Programming > Python' 카테고리의 다른 글
| [Python] datetime 활용하기 (0) | 2023.04.12 |
|---|---|
| [Python] 파이썬 포스트그레 연결하는 방법 (2) | 2023.01.11 |
| [Python] 파이썬에서 오라클 연결하는 방법 (0) | 2023.01.11 |
| [Python] 데이터프레임 컬럼명/값 이름 변경 (0) | 2022.11.28 |
| [Python] zip파일 압축 및 풀기(비밀번호 있는 zip파일 풀기) (0) | 2022.11.28 |