Skip to content
Advertisement

Tag: python-c-api

Missing Python headers (Python.h) on Heroku

I’m trying to deploy to Heroku a Python application which requires some C extensions. The problem is that when I deploy the app to Heroku via git push heroku master I get the following error: From what I understand, I’m missing the Python.h header file, which is required to build my C extension. I’ve already tried apt install python-dev, python-devel,

Advertisement