# random
👍 1
I agree with this change. The title is misleading. What you can’t do is use pip to install to your systems Python env, but using a venv you can use pip as usual. I’ve always found to use pip install to your system env a bad practice that may be difficult to repair should it get broken.
Agreed. I kinda wish that it did something like NPM, which is you have to specify "-g" for anything system/global level
Accidentally pip installing to system has been a pain in the ass for years for me
I've started doing export PIP_REQUIRE_VIRTUALENV=true on the machines
Woah nice. Wasn’t aware of that option! 🤩
🤯 🤯 🤯
You are welcome 😁
I can't expect my engs to have that set though. And there's so much
pip install myawesomepackage
in the wild 🤦‍♂️
Yes. It's the best effort thing, isn't it. If you can control the machine scaffolding process, you could get this into the bashrc or something.
But I guess even telling people they can use that, I'd find that already helpful
I am so glad that distros are finally going out of their way to make it hard to use system Python