ubuntu 14.04 安装python包psycopg2

http://stackoverflow.com/questions/28253681/you-need-to-install-postgresql-server-dev-x-y-for-building-a-server-side-extensi

sudo apt-get install postgresql
sudo apt-get install python-psycopg2
sudo apt-get install libpq-dev
pip install psycopg2==2.6.2

 

posted @ 2017-02-09 17:20  tommy.yu  阅读(1450)  评论(0编辑  收藏  举报