我试图为教程安装postgres,但pip
出现错误:
pip install psycopg
我得到一小段错误:
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'.
pg_config
我的virtualenv在哪里?如何配置呢?我使用virtualenv是因为我不想在系统范围内安装postgres。