Add libpg-dev to developer docs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Gage Hugo |
Bug Description
When setting up a development environment following the instructions here:
http://
On Ubuntu 16.04.1 when installing dependencies from test-requiremen
Collecting psycopg2>=2.5; extra == "postgresql" (from oslo.db[
Downloading psycopg2-
100% |██████
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-
writing pip-egg-
writing top-level names to pip-egg-
writing dependency_links to pip-egg-
writing manifest file 'pip-egg-
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 /tmp/pip-
Googling this error brings you to this fix from stackoverflow:
http://
Which simply involves installing the libpq-dev package. This fixes the problem and the rest of test-requiremen
Recommend adding libpg-dev (Ubuntu/Debian) along with other package managers to the list of dependencies to install before using pip:
Changed in keystone: | |
assignee: | nobody → Gage Hugo (gagehugo) |
sounds good Gage, please update the docs