Skip to content

Library import fails due to missing dependencies after successful pip install #58

@jokinr

Description

@jokinr

Environment

The issue has been verified on the following Python versions:

  • Python 3.12
  • Python 3.13

No other versions have been tested.

pip freeze

certifi==2025.8.3
charset-normalizer==3.4.3
confluent-kafka==2.8.0
idna==3.10
requests==2.32.5
robotframework==7.3.2
robotframework-confluentkafkalibrary==2.8.0.post2
urllib3==2.5.0

Steps to Reproduce

>pip install robotframework-confluentkafkalibrary

>python
Python 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from ConfluentKafkaLibrary import ConfluentKafkaLibrary
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    from ConfluentKafkaLibrary import ConfluentKafkaLibrary
  File "C:\Users\x\python_sandbox\venv\Lib\site-packages\ConfluentKafkaLibrary\__init__.py", line 3, in <module>
    from confluent_kafka.schema_registry import SchemaRegistryClient
  File "C:\Users\x\python_sandbox\venv\Lib\site-packages\confluent_kafka\schema_registry\__init__.py", line 20, in <module>
    from .schema_registry_client import (
    ...<15 lines>...
    )
  File "C:\Users\x\python_sandbox\venv\Lib\site-packages\confluent_kafka\schema_registry\schema_registry_client.py", line 26, in <module>
    import httpx
ModuleNotFoundError: No module named 'httpx'
>>>

Expected Behavior

The library should be imported successfully without any errors, as all its dependencies should have been installed automatically during the pip process (= pip install robotframework-confluentkafkalibrary)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions