Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

psycopg2-binary install for M1

❯ brew install postgresql
# 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.8.10/lib"
❯ python -V
Python 3.8.10
❯ pip install psycopg2-binary==2.8.6
Source by github.com #
 
PREVIOUS NEXT
Tagged: #install
ADD COMMENT
Topic
Name
2+3 =