Auto-cpufreq AUR package fails --install

I cannot seem to be able to install this. It fails with this message:

sudo auto-cpufreq --install

--------------------- Deploying auto-cpufreq as a daemon ----------------------

* Turn off bluetooth on boot

* Deploy auto-cpufreq install script
Traceback (most recent call last):
  File "/usr/bin/auto-cpufreq", line 151, in <module>
  File "/usr/lib/python3.9/site-packages/click/", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/click/", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.9/site-packages/click/", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.9/site-packages/click/", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/bin/auto-cpufreq", line 131, in main
  File "/usr/lib/python3.9/site-packages/auto_cpufreq/", line 300, in deploy_daemon
  File "/usr/lib/python3.9/", line 426, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.9/", line 265, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/auto-cpufreq/scripts/'

Here are my system specs.

sudo auto-cpufreq --debug


Linux distro: Manjaro Linux 21.1.6 Pahvo
Linux kernel: 5.14.10-1-MANJARO
Processor: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
Cores: 4
Architecture: x86_64
Driver: intel_pstate

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 3500 MHz
CPU min frequency: 800 MHz

Core	Usage	Temperature	Frequency
CPU0:	  2.0%     39 °C     2500 MHz
CPU1:	  3.0%     37 °C     2500 MHz
CPU2:	  5.0%     37 °C     2500 MHz
CPU3:	  5.1%     39 °C     2232 MHz

auto-cpufreq version:
Version         : 1.6.9.r0.gffc0bf0-1

Python: 3.9.7
psutil package: 5.8.0
platform package: 1.0.8
click package: 8.0.3
/bin/sh: line 1: pip3: command not found
distro package

Computer type: Notebook
Battery is: charging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.1 %

Total CPU usage: 5.1 %
Total system load: 0.76
Average temp. of all cores: 38.0 °C 

Currently using: powersave governor
Currently turbo boost is: on


Why AUR ?
As far as I know auto-cpufreq is in the manjaro repos.

Sudo pacman -Syu auto-cpufreq

you don’t need to --install daemon manually

Please note: If you want to install auto-cpufreq daemon, do not run auto-cpufreq --install otherwise you’ll run into an issue: #91, #96.

1 Like

Because the one in the repos also fails.

Considering it is in AUR rather than Arch repositories, it may have been added to the Manjaro repositories for better streamlined support. Thus, there is presumably no benefit in using the AUR version.

Well, apparently there is, since the AUR version has a built-in daemon and doesn’t require --install which fails on the version from the manjaro repos.

The community repo version and the AUR version are the same. What do you mean the daemon fails?

Oh nevermind, it was an error on my part. Everything’s fine.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.