4 Comments
User's avatar
Jeffrey Hulten's avatar

I largely agree with everything you have said here and I have the environment variables to prove it.

`export PIP_REQUIRE_VIRTUALENV=true` will force you to not install packages in the system site-packages.

Expand full comment
Adam's avatar

Great fragment about keeping things uniform. It helps so much and still is not established even amongst the biggest python projects.

Expand full comment
bjkeefe's avatar

>>> Brought to you by "/r/python answers are so bad I had to write this"

:D :D :D

Expand full comment
Giuseppe Santoro 🚢's avatar

Great article. UV is such a game changer. I use it for everything. It has replaced more than 5 different tools into 1.

Expand full comment