Python module ImportError when trying to re-run custom actors in Leapp

Solution Verified - Updated -

Issue

  • When utilising the experimental feature in Leapp to re-run custom actors, the task fails with a Python import error such as: ImportError: No module named pyudev.
  • The issue occurs after Leapp has already completed the upgrade of a system from RHEL 7 to RHEL 8.
  • The Python module listed in the error is not available in Python 2.7, but it is in Python 3.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.9
    • 8.x
  • Leapp

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