I ran the example with a simple loop:
import pyRAPL
pyRAPL.setup()
@pyRAPL.measureit
def foo():
a = 0
for x in range(10000000000):
a += x
print(x)
foo()
and it gave the above error. It looks like a Linux directory.
Surprised it doesn't support Windows (or did I miss something?)