./psycopg/psycopg.h:35:10: fatal error: Python.h: No such file or directory in redhat code example
Example 1: In file included from psycopg/psycopgmodule.c:28:./psycopg/psycopg.h:35:10: fatal error: Python.h: No such file or directory35 | #include | ^~~~~~~~~~compilation terminated.
sudo apt install python3-dev
Example 2: In file included from psycopg/psycopgmodule.c:28:./psycopg/psycopg.h:35:10: fatal error: Python.h: No such file or directory35 | #include | ^~~~~~~~~~compilation terminated.
sudo apt-get install python3-dev