Sosreport fails with "ImportError: No module named concurrent.futures" error.

Solution Verified - Updated -

Issue

  • Command sosreport fails with ImportError: No module named concurrent.futures error.

    /sbin/sosreport
    Traceback (most recent call last):
      File "/sbin/sosreport", line 14, in <module>
        from sos.sosreport import main
     File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 31, in <module>
        from concurrent.futures import ThreadPoolExecutor, TimeoutError
    ImportError: No module named concurrent.futures
    

Environment

  • Red Hat Enterprise Linux 7

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