So here is my goal: To get a .py file that imports pgdb, to run.
For this, as far as I have understood, I need PygreSql.
I have both postgresql 9.4.4 and python 2.7.9 installed (Postgresql with source code and python with the normal download form the website.). I found the file PyGreSQL.tar (version 4.1.1) and I ran the command python setup.py build
in the directory of the extracted tar file. I get the message Exception: pg_config tool is not available.
. What can I do to fix this?
Thanks in advance!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With