Skip to content

compilation terminated. error: command 'i686-linux-gnu-gcc' failed with exit status 1 #225

@ghost

Description

I am trying to install on Ubutntu 18.04 with python 3.7 also with python 3.6.5 I recive same error after tying to install with pip How can I fix it.Thanx

  **In file included from greenlet.c:5:0:
    greenlet.h:8:10: fatal error: Python.h: No such file or directory
     #include <Python.h>
              ^~~~~~~~~~
    compilation terminated.
    error: command 'i686-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-thx0zjpv/greenlet_224e3902c8a948bba84ad67c323661d3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-thx0zjpv/greenlet_224e3902c8a948bba84ad67c323661d3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qhthvn64/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pc/.local/include/python3.7m/greenlet Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions