Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No package metadata was found for undervolt #172

Open
AustinDNelson opened this issue Oct 6, 2022 · 1 comment
Open

No package metadata was found for undervolt #172

AustinDNelson opened this issue Oct 6, 2022 · 1 comment

Comments

@AustinDNelson
Copy link

AustinDNelson commented Oct 6, 2022

When I type this command
sudo undervolt -r

I get this error

Traceback (most recent call last): File "/home/USER/.local/bin/undervolt", line 33, in <module> sys.exit(load_entry_point('undervolt==0.3.0', 'console_scripts', 'undervolt')()) File "/home/USER/.local/bin/undervolt", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 957, in distribution return Distribution.from_name(distribution_name) File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for undervolt

I'm able to do what was suggested at the end of this issue, but that's pretty inconvenient. I seem to be getting that error with every undervolt command I try.

I'm on an arch-based distro

Please let me know if there's more information that you need.

@nasrat-v
Copy link

nasrat-v commented Apr 8, 2024

I'm also on an arch-based distro, I fixed the issue by reinstalling the package from the AUR instead of using the python installer pip
If you cannot uninstall the previous package, you should overwrite it.

For example with the package manager yay:

yay undervolt --overwrite "/usr/bin/undervolt"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants