On MacOs, when the user didn't provide Intel Power Gadget with sufficient privileges and try to run carbonai, they get the following error KeyError: 'Cumulative process CPU Energy (mWh)'
We should check if the user has provided those privileges when initializing the PowerGadget and raise a meaningful error if it's not the case
On MacOs, when the user didn't provide Intel Power Gadget with sufficient privileges and try to run carbonai, they get the following error
KeyError: 'Cumulative process CPU Energy (mWh)'
We should check if the user has provided those privileges when initializing the PowerGadget and raise a meaningful error if it's not the case