Answers for "Python.h: No such file or directory #include "Python.h" ^~~~~~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1"

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

Code answers related to "Python.h: No such file or directory #include "Python.h" ^~~~~~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1"

Python Answers by Framework

Browse Popular Code Answers by Language