I'm trying to install psycopg2 using pipenv install psycopg2 but I'm getting an error that tells me I'm missing a python.h header. I intalled python-dev / python3-dev, but that doesn't work. I spoke with the team at psycopg2 and the problem seem to be Xubuntu.

Any idea how to get resolve the python.h header is missing issure and get psycopg2 to install using python's pipenv install psycopg2?