Configuring Red Hat Satellite with Red Hat Single Sign-On Authentication fails with error - ModuleNotFoundError: No module named 'lxml'

Solution Verified - Updated -

Issue

  • Configuring Red Hat Satellite with Red Hat Single Sign-On Authentication fails with error - ModuleNotFoundError: No module named 'lxml'.

    # keycloak-httpd-client-install
    
        Traceback (most recent call last):
     File "/usr/bin/keycloak-httpd-client-install", line 19, in <module>
        from keycloak_httpd_client import keycloak_rest
     File "/usr/lib/python3.6/site-packages/keycloak_httpd_client/keycloak_rest.py", line 9, in <module>
        from keycloak_httpd_client import utils
     File "/usr/lib/python3.6/site-packages/keycloak_httpd_client/utils.py", line 21, in <module>
        from lxml import etree
     ModuleNotFoundError: No module named 'lxml'
    

Environment

  • Red Hat Satellite 6.13.

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