psycopg2 tag

4 questions


1 answers
139 views
0
pg_config executable not found error

I want to install psycopg2, but I keep getting errorsIf you do pip install psycopg2 in the command window, Error: pg_config executable not found.Please add the directory containing pg_config to the PA...

2 years ago

1 answers
108 views
0
Problems with installing psycopg2 in PyCharm

If you do pip install psycopg2 on the console, the installation works, but PyCharm is getting this error, so what's the problem?Error: pg_config executable not found.

2 years ago

1 answers
134 views
0
How do I install psycopg2 with pip?

You must install psycopg2 in virtualenv.pip install http://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.4.tar.gz#md5=24f4368e2cfdc1a2b03282ddda814160It's installed withI don't know what's wro...


1 answers
105 views
0
Python psycopg2 library fetchall() list data output method?

fetchone() is data[0] output and fetchall() is data[0] output ('data1',).For fetchphone(), you cannot import data1, data2 because you import only one line of the table gel.So data1,data2 is imported, ...


© 2024 OneMinuteCode. All rights reserved.