pip로 psycopg2를 설치하려니 아래 오류가 발생했다.
Setuptools DeprecationWarning: The license file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class)
Error: pg_config executable not found.
PostgreSQL이 설치 안 된 서버라서 관련 바이너리를 못 찾아서 발생한 오류 같다.
yum install postgresql postgresql-devel python-devel
설치하니까 잘 됨.
반응형