Hello Team,
I am tried to get the cpu freq using psutil.cpu_freq(), but getting error:
"Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> print (psutil.cpu_freq())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'psutil' has no attribute 'cpu_freq'
>>> "
Having ::
1- python3
2- Arch - amd64
where as same is working for armhf arch and having python varsion3.
"dev@ssniotr:~$ python3
Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> print (psutil.cpu_freq())
scpufreq(current=960.0, min=480.0, max=960.0)
>>>
"
Please help me to resolve this issue.
Appreciate your support here.
Thanks,
Shubham Pushpkar