Trouble Installing the UV Package Manager on Garuda Linux
Asked by
TechWhiz42
I've just installed Garuda Linux and ran into some issues while trying to get the UV package manager up and running. When I try to install it using `pip3 install uv`, I get an error saying 'externally-managed-environment' and suggesting that I should use `pacman -S python-xyz` for system-wide installs. But when I switch to `sudo pacman -S python3-uv`, I get another error saying 'target not found: python3-uv'. I've checked the installation scripts on the UV website, and they work fine. I'm just trying to understand why I'm facing these installation issues with both package managers.
Answers
You could also try using the installation script directly from the UV website. It's a straightforward way to get it up and running without dealing with the package managers.
Reply to this answer
If you're having trouble with global installs using pip, consider using pipx instead. It isolates the environments for your Python packages.
Reply to this answer
Have you checked out the installation guide on the UV documentation page? It might give you some insight on how to install properly without those errors.
Reply to this answer
If the message suggests using `pacman -S python-uv`, make sure you're typing that instead of `python3-uv`. It seems like a mistake there.
Reply to this answer
I think the issue might be that you're trying to install 'python3-uv' when you need to install 'python-uv' instead. There's no package called 'python3-uv' in the repos, which is why you're getting that error.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions