This is a wrapper around wmi-client for Linux. Apparently the python-wmi module
uses Windows APIs to access WMI, which isn't something that is going to work on
pip install wmi-client-wrapper
import wmi_client_wrapper as wmi
wmic = wmi.WmiClientWrapper(
output = wmic.query("SELECT * FROM Win32_Processor")
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.