CentOS上pip install psycopg2 失败
若报错如下:
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0_r5psic/psycopg2/
先安装这个
yum install postgresql-devel
若报错如下:
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0_r5psic/psycopg2/
先安装这个
yum install postgresql-devel