You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent the evening learning about "pip" and I am not happy.
To my fellow arch users, please do NOT use pip system-wide. There is also no need to install pip as a package. The pip command becomes available once you activate a virtual python environment.
I have no experience with Python virtual environemnt but pip install --user is probably a better option in this case (and I should change the readme...). Powerupp checks PATH for upp and also the directory ~/.local/bin (which is not in PATH on some systems but (sometimes) used by pip) and temporarily adds it to PATH if necessary, and sets up the udev rule accordingly. If the virtual environment is not available at system start that is of course harder to work around.
There is nothing wrong with pip, but of course one should be careful not to mess up the distro package files in root mode. To use upp deployed in --user mode with sudo, provided that the ~/.local/bin is in path, try: sudo -E env "PATH=$PATH" upp --help
I just spent the evening learning about "pip" and I am not happy.
To my fellow arch users, please do NOT use pip system-wide. There is also no need to install pip as a package. The pip command becomes available once you activate a virtual python environment.
Quote from ArchWiki:
I'm no expert, but here is how I got the pip dependencies to work:
Then launch powerupp with a custom path.
I haven't yet given the udev rule a thought.
The text was updated successfully, but these errors were encountered: