Closed MartinX3 closed 3 years ago
protontricks.cli.main
function doesn't exist anymore as of 1.6.0, so it seems like you might have an older installation of Protontricks alongside the newer 1.6.0 one, and those two are getting mixed up.
I assume you've installed either protontricks
or protontricks-git
from AUR? In that case, try running the following commands to delete any existing installations and then reinstalling:
$ <aur-helper> -R protontricks/protontricks-git # Uninstall Protontricks from AUR
$ pip uninstall --user protontricks # Uninstall local pip installation, if any
$ sudo pip uninstall protontricks # Uninstall system-wide pip installation, if any
$ pipx uninstall protontricks # Uninstall pipx installation, if any
$ <aur-helper> -S protontricks/protontricks-git # Reinstall Protontricks from AUR
If that doesn't help, we might get a better clue of where Python is looking for Protontricks by running the following command:
$ python3 -c "import pkg_resources; print(repr(pkg_resources.get_distribution('protontricks')))"
In my system it lists /usr/lib/python3.9/site-packages
as the source; any other directory is likely an old leftover.
Yes, I use protontricks from AUR. :)
$ sudo pip uninstall protontricks
Found existing installation: protontricks 1.5.1
Uninstalling protontricks-1.5.1:
Would remove:
/usr/lib/python3.9/site-packages/protontricks-1.5.1-py3.9.egg-info
Proceed (y/n)? y
Successfully uninstalled protontricks-1.5.1
$ python3 -c "import pkg_resources; print(repr(pkg_resources.get_distribution('protontricks')))"
protontricks 1.6.0 (/usr/lib/python3.9/site-packages)
Fixed, many thanks! :)
(Don't ask my why there was 1.5.1, I avoid pip and sudo stuff at all costs and prefer repository packages)
Describe the bug It's not posible to run protontricks
To Reproduce Steps to reproduce the behavior:
protontricks
Expected behavior A working application
System (please complete the following information):