0

I need to do a test automation in Robot Framework using Kafka topics. I'm trying to use the ConfluentKafkaLibrary library, but VSCode doesn't recognize it.

I already installed the commands:

pip install robotframework-confluentkafkalibrary
pip install confluent-kafka

Still, it keeps giving the error:

Unresolved library: ConfluentKafkaLibrary. Error generating libspec: Importing library 'ConfluentKafkaLibrary' failed: ModuleNotFoundError: No module named '_bz2' Consider adding the needed paths to the "robot.pythonpath" setting and calling the "Robot Framework: Clear caches and restart" action.

Does anyone know how to solve this problem?

IMAGE - error message

  • I already tried to reinstall all libraries.
  • I already tried to configure the robot.pythonpath.
  • I've restarted VSCode several times, after each step.
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

0 Answers0