This question already has an answer here:
- fatal error: Python.h: No such file or directory 25 answers
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?