I am using Macbook with M series chip.
While running python which has confluent-kafka dependency, getting this error.
Installed dependencies using pip3. Also installed librdkafka
ImportError: dlopen(/Library/Python/3.8/site-packages/confluent_kafka/cimpl.cpython-38-darwin.so, 0x0002): tried: '/Library/Python/3.8/site-packages/confluent_kafka/cimpl.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64)))