Questions tagged [pgdb]

19 questions
0
votes
1 answer

How to not have pgdb add quotes

I'm doing an SQL insterface, and I'm having a problem with string formatting. What I want to do is an SQL INSERT INTO table_name statement. When I do it now, using parameterized instertion, I get unwanted quotes around my table name. This is the…
Sahand
  • 7,980
  • 23
  • 69
  • 137
0
votes
1 answer

How to install pgdb on MacOS Yosemite?

On Mavericks, I downloaded the source code and and built and installed it with Distutils as I explained on Stackoverflow. I try to reproduce it on Yosemite and I have the following error message: Exception: pg_config tool is not available. The…
Antonin
  • 1,748
  • 7
  • 19
  • 24
0
votes
2 answers

How to install pgdb on MacOS Mavericks?

I updated my system to Mavericks and I have a python code using pgdb. How can I install pgdb on my new mac? I tried sudo pip install git+git://github.com/cancerhermit/pgdb.py.git And sudo pip install pgdb And brew install pgdb And I have even…
Antonin
  • 1,748
  • 7
  • 19
  • 24
0
votes
1 answer

Python: Impossible to import mktime in Eclipse: ImportError

If I import pgdb just in command line, it works fine. It was also working fine in Eclipse until recently (with exactly the same Python 2.7.2), but now, when I import pgdb, even in a very simple file (containing just import pgdb), I have this error…
Antonin
  • 1,748
  • 7
  • 19
  • 24
1
2