You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cpufreq --help
Traceback (most recent call last):
File "/home/serlop/anaconda3/bin/cpufreq", line 8, in <module>
sys.exit(main())
File "/home/serlop/anaconda3/lib/python3.8/site-packages/cpufreq/run.py", line 104, in main
c = cpuFreq()
File "/home/serlop/anaconda3/lib/python3.8/site-packages/cpufreq/cpufreq.py", line 77, in __new__
dataf = cpuFreq.__instance.__read_cpu_file(fpath)
File "/home/serlop/anaconda3/lib/python3.8/site-packages/cpufreq/cpufreq.py", line 90, in __read_cpu_file
with open(fpath, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
I got a similar issue in macOS, Macbook Pro M1 ARM architecture. This is a problem code and result.
importpsutilprint(psutil.cpu_freq().max)
.
.
File "/Users/user/miniconda3/lib/python3.10/site-packages/psutil/_psosx.py", line 179, in cpu_freq
curr, min_, max_ = cext.cpu_freq()
FileNotFoundError: [Errno 2] No such file or directory (originated from sysctl(HW_CPU_FREQ))
When I searched, still this is a problem for M1 users. Are there any solutions?
Got following error with
cpufreq
-Apparently, Intel has stopped publishing available frequencies. However, it is still possible to calculate the available frequencies using min, max, and the number of available frequency steps.
FYI, I am using Ubuntu 18.04 LTS and i5-10400
The text was updated successfully, but these errors were encountered: