环境部署的时候直接安装psyconpg2时可能遇到
./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory
#include 《Python.h》^
compilation terminated.
error: command 'gcc' failed with exit status 1
解决该问题的方法为:
1. yum install python-devel
2. pip install psycopg2