What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-19 11:02:02
fatal error: Python.h: No such file or directory 45 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
For apt (Ubuntu, Debian...): sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x installs For yum (CentOS, RHEL...): sudo yum install python-devel # for python2.x installs sudo yum install pytho... Add solution -
Other 2021-09-11 04:09:02
FileNotFoundError: [Errno 2] No such file or directory
For apt (Ubuntu, Debian...): sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x installs For yum (CentOS, RHEL...): sudo yum install python-devel # for python2.x installs sudo yum install pytho... Add solution -
Shell/Bash 2021-08-31 05:46:01
python.h missing
For apt (Ubuntu, Debian...): sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x installs For yum (CentOS, RHEL...): sudo yum install python-devel # for python2.x installs sudo yum install pytho... Add solution