You are not logged in.

#1 2020-12-10 10:43:59

Euler-Maskerony
Member
Registered: 2020-06-27
Posts: 30

[SOLVED]Caffeine-ng isn't working

Hello. I have an issue with caffeine-ng:

 [matvey@arch ~]$ caffeine
Traceback (most recent call last):
  File "/usr/bin/caffeine", line 33, in <module>
    sys.exit(load_entry_point('caffeine-ng==3.4.2', 'gui_scripts', 'caffeine')())
  File "/usr/bin/caffeine", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: caffeine-ng

I've tried to reinstall it, but with no result.
In

python help('modules')

there is actually no package caffeine-ng.
Any tips?
Thank you in advance.

Last edited by Euler-Maskerony (2020-12-10 12:44:52)

Offline

#2 2020-12-10 12:29:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,361

Re: [SOLVED]Caffeine-ng isn't working

Define "reinstall". If you just reinstalled the package that will expectedly not help. You need to rebuild it against the new python release.

Last edited by V1del (2020-12-10 12:30:09)

Offline

#3 2020-12-10 12:44:30

Euler-Maskerony
Member
Registered: 2020-06-27
Posts: 30

Re: [SOLVED]Caffeine-ng isn't working

V1del wrote:

You need to rebuild it against the new python release.

Thank you very much

Offline

Board footer

Powered by FluxBB