You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /tmp/pip-build-8hxz1xqa/confluent-kafka/src/confluent_kafka/src/confluent_kafka.c:17:0:
/tmp/pip-build-8hxz1xqa/confluent-kafka/src/confluent_kafka/src/confluent_kafka.h:18:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Also
When trying
pip3 install confluent-kafka
In file included from /tmp/pip-build-tifgsy7i/confluent-kafka/src/confluent_kafka/src/confluent_kafka.c:17:0:
/tmp/pip-build-tifgsy7i/confluent-kafka/src/confluent_kafka/src/confluent_kafka.h:18:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
pip3 install --no-binary :all: confluent-kafka
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-8hxz1xqa/confluent-kafka/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-d2okpwx1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-8hxz1xqa/confluent-kafka/
Also
When trying
pip3 install confluent-kafka
In file included from /tmp/pip-build-tifgsy7i/confluent-kafka/src/confluent_kafka/src/confluent_kafka.c:17:0:
/tmp/pip-build-tifgsy7i/confluent-kafka/src/confluent_kafka/src/confluent_kafka.h:18:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-tifgsy7i/confluent-kafka/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-gcv9k15t-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-tifgsy7i/confluent-kafka/
Details
OS: ReadHat7.8
Installed:
librdkafka-devel-0.11.5-1.el7.x86_64 cyrus-sasl-devel-2.1.26-24.el7_9.x86_64 krb5-workstation-1.15.1-51.el7_9.x86_64
librdkafka-0.11.5-1.el7.x86_64 cyrus-sasl-2.1.26-24.el7_9.x86_64 libkadm5-1.15.1-51.el7_9.x86_64
Beta Was this translation helpful? Give feedback.
All reactions