Answers for "import psycopg2 but no modulenotfounderror"

5

no module psycopg2

# For quick install
pip install psycopg2-binary

# For production-ready install
pip install psycopg2
# But it will fail if build prerequesties are not met:
# https://www.psycopg.org/docs/install.html#build-prerequisites
Posted by: Guest on June-04-2020
1

No module named 'psycopg2'

pip install psycopg2
Posted by: Guest on October-20-2020

Code answers related to "import psycopg2 but no modulenotfounderror"

Python Answers by Framework

Browse Popular Code Answers by Language