This issue is similar to previous ones, but cannot be solve with same suggestions.
I am using Centos 7. On a virtual environment running Python 3.5 (latest stable version), I am trying to install psycopg2 by using pip3/pip/easy_install.
In all scenarios, I get the following error:
fatal error: Python.h: No such file or directory
I read previous threads:
psycopg: Python.h: No such file or directory
fatal error: Python.h: No such file or directory
but the solutions don't work. Any idea?
python-develis likely for Python 2 in this case. Does this answer help? serverfault.com/questions/710354/…