Error: pg_config executable not found.Please add the directory containing pg_config to the PATHor specify the full executable path with the option:python setup.py build_ext --pg-config /path/to/pg_config build ... code example
Example: Error: pg_config executable not found.
sudo apt-get install libpq-dev python-dev