insights-client --register failing due to pkg_resources.DistributionNotFound: cryptography>=2.1.4

Solution Verified - Updated -

Issue

# insights-client --register fails with below traceback:

# insights-client --register
Traceback (most recent call last):
  File "/bin/insights-client", 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: cryptography>=2.1.4

Environment

Red Hat Enterprise Linux 7.5
Red Hat Insights

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.