I googled and found that in Mac,
sudo PATH=$PATH:/Applications/Postgres.app/Contents/Version/9.3/bin pip install psycopg2
on the terminal.
I ran it as above and pressed installation in Pycharm, and it went well.
© 2024 OneMinuteCode. All rights reserved.