Answers for "^include <Python.h>Compilation failed"

1

python.h missing

# `Python.h` is provided by the "python-dev" or "python3-dev" packages on debian/Ubuntu.
# On some sytems it will be "python-devel", "python2-devel" and/or "python3-devel"
sudo apt-get install python-dev python3-dev
Posted by: Guest on May-23-2020
2

Python.h: No such file or directory

sudo apt-get install python-dev   # for python2.x installs
sudo apt-get install python3-dev  # for python3.x installs
Posted by: Guest on May-18-2020

Code answers related to "^include <Python.h>Compilation failed"

Python Answers by Framework

Browse Popular Code Answers by Language