. Advertisement .
..3..
. Advertisement .
..4..
Here is a code for the programs, and for some strange reason, I got the warning text:
Running greenlet-0.3.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_httHYm/greuulet-
0.3.4/egg-dist-tmp-t9_gbW In file included from greenlet.c:5:0: greenlet.h:9:20: fatal error: Python.h: No such file or directory compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1`
Even though I copied some suggestion codes, It does not work. What can I do for the error: command ‘gcc’ failed with exit status 1 issue? Is there a better approach?
The cause: The “fatal error: Python.h: No such file or directory” expression in the 4th line explains what the cause is. It simply says that the Python development library or packages are not installed or found. Solution:
Install Up-to-Date GCC
Ubuntu, Debian, Mint, Kali:
CentOS, RHEL, Fedora:
MacOSX:
Install Build Essentials
Ubuntu, Debian, Mint, Kali:
CentOS, RHEL, Fedora:
Install Python Development Packages
Ubuntu, Debian, Mint, Kali:
CentOS, RHEL, Fedora:
Install libffi, libxslt and openssl Development Packages
Ubuntu, Debian, Mint, Kali:
CentOS, RHEL, Fedora:
For Fedora:
And finally: