Why does python3.6 import pyzabbix fails with error "ModuleNotFoundError: No module named 'pyzabbix' " ?

Solution Verified - Updated -

Issue

  • Importing pyzabbix fails with rh-python36 (python3.6).
Python 3.6.12 (default, Sep 15 2020, 12:49:50) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-37)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>  import pyzabbix
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyzabbix'

Environment

  • Red Hat enterprise Linux 7.
    Red Hat Software Collection.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content