docker Python.h: No such file or directory 8 | #include "Python.h" | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 code example
Example 1: fatal error: Python.h: No such file or directory 45 | #include | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
sudo yum install python-devel
sudo yum install libevent-devel
sudo easy_install gevent
Example 2: fatal error: Python.h: No such file or directory 45 | #include | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
sudo yum install python-devel
sudo yum install libevent-devel