Email or username:

Password:

Forgot your password?
Brodie Robertson

Props to Arch Linux for adding something to protect me from being a dumbass

14 comments
FosRex

@BrodieOnLinux Is this a new thing? Or am I just hallucinating because I remember being able to do that about 8 month's ago.

Zergling_man
@BrodieOnLinux I will install all pip shit in global, on the extremely rare occasion that I actually install pip shit.
pip is garbage
Player2alpha 🧑‍💻🧌

@BrodieOnLinux python venvs are so damn convenient. I can just take it with me while distro-hopping.

Brodie Robertson

@Player2alpha I've always just installed things globally and dealt with the consequences, this is a much better option

Gokul Das

@BrodieOnLinux I recommend pipenv (installed with pipx) to manage per-project virtual environments and requirements file (pipfile & lock). If you add asdf or pyenv to the mix, then pipenv can control the python version for each virtual environment as well.

martynpie

@BrodieOnLinux @portaloffreedom I have no idea what any of this means, but whenever I see arch-anything my brains goes here 😄

Animation frames of arch-vile from Doom / Doom 2
Sayar Tyler :fediverse:

@BrodieOnLinux This post alone has helped me understand how to make an environment better than the 5 different times I've Googled it.

Tokenizer

@BrodieOnLinux `pip install` should only work inside venvs (i.e. at project level)

Minkiu

@BrodieOnLinux I was under the impression that pip now detects this and installs it in your user, so no root permissions required? 🤔 Still a good message nonetheless

Brodie Robertson

@minkiu It's up to the distro how it's handled, Arch and Debian take the venv approach

parona

@minkiu @BrodieOnLinux pip never did that, some distros probably patched that in. The above is a pip native solution that should now work for every distribution. Checkout PEP668 if interested. Installing to --user either way can have a chance of user errors even if full system breakage is avoided like with installing system wide. bugs.gentoo.org/902027 :P

Go Up