vagnum08 / cpupower-gui

cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error due to the version of python3 and its module

jiangzc opened this issue · comments

My Python version is 3.5.3 and the following syntax is not supported. Hope to replace it with compatible statement.

print(f"WARNING! Unknown CPU frequency, cause: {e}")

I also have this issue : AttributeError: 'gi.repository.Gtk' object has no attribute 'Template'
tuhiproject/tuhi#197
It seems that module PyGObject version should be greater than 3.30 .

You can note these dependency issue in README file. Thanks.

Thanks for letting me know.

After this commit e3fb852, PyGObject version should be greater than 3.30.
There is an error message generated by the following line.

gi.check_version("3.30")

I will add a note to README about the version.

I have removed the f-string from the print statement. Now it should work. The changes have been merged.