pip install psycopg2
오류 발생
❯ brew install postgresql@14
# If you open a new terminal tab you will see that pg_config is available
❯ export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
❯ export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib -L${HOME}/.pyenv/versions/3.10.7/lib" # use your current python version
❯ pip3 install psycopg2
참고: https://stackoverflow.com/questions/66888087/cannot-install-psycopg2-with-pip3-on-m1-mac