psycopg2 설치 에러1 Mac 환경 psycopg2 설치 시 에러나는 경우 MAC에서 psycopg2 설치시 에러나는 경우 python에서 psycopg2을 설치하려는데 pip install psycopg2를 하면 자꾸 다음과 같이 에러가났다. ERROR: Command errored out with exit status 1: psycopg2 f를 설치시 필요한 path가 제대로 설정되어 있지않으면 위와 같은 에러가 난다고한다. brew install postgresql export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" pip install psycopg2 위 코드를 커맨드 창에 입력하니 무사히 설치 완료. 2021. 5. 13. 이전 1 다음