简体   繁体   中英

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 command in 'setup.py' that generates the problem is supposed to "Retrieve information about installed version of PostgreSQL."

f = os.popen('pg_config --%s' % s

I used the graphic installer to install PostgreSQL on my computer.

The graphic installer did not work. By using Homebrew to install PostgreSQL, everything worked fine.

brew install postgresql

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM