Я пытаюсь установить psycopg2
на моем macbook. Я все равно получаю ту же ошибку. Я нашел много одинаковых вопросов в stackoverflow, но ответ, похоже, не работает. Я думаю, что он устарел. Я использую:установить psycopg2 на mac osx 10.9.5 [pg_config] [pip]
Mac osx 10.9.5 Python 3.4.3
Мой код ошибки:
Running setup.py egg_info for package psycopg2 Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'. Complete output from command python setup.py egg_info: running egg_info
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
---------------------------------------- Command python setup.py egg_info failed with error code 1 in /Users/stevengerrits/build/psycopg2 Storing complete log in /Users/stevengerrits/Library/Logs/pip.log
http: //stackoverflow.com/a/24645416/3033586 – madzohan
уже сделал это. – belgiums