pip install psycopg2==2.8.4报错ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-umsabgcl/psycopg2/如下:
解决:
sudo apt-get install libpq-dev python-dev后再次安装成功。