I'm trying to run only:
import cpufreq
Cf = cpufreq.cpuFreq()
It throws this error: FileNotFoundError: [Errno 2] No such file or directory: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
I'm stuck here, I'm using cpufreq to change cpu frequency