[leapp] Leapp preupgrade failed with "pkg_resources.DistributionNotFound: urllib3>=1.21.1,<1.24"

Solution Verified - Updated -

Issue

  • The leapp fails with a traceback error.
Traceback (most recent call last):
  File "/usr/bin/leapp", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: urllib3>=1.21.1,<1.24

Environment

  • Red Hat Enterprise Linux 7
  • 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