News for hackers. Stuff that matters.
Re:PEP 704 – Require virtual environments by default for pac... by PaulHoule on Wednesday March 15, 2023 @08:57AM (#35167615)
I like activate setting the path. “python3”, “pip3” is the best idea anyone ever got since Solomon suggested cutting a baby in half.

I mean, soon it becomes “python3.5” (don’t really try that one!), “python3.6”, “python3.7”, “python3.8”, and maybe “python3.9-pypi” and who knows what else.

If the noobs you are pandering are too lazy to create a venv, they will never be able to change your script that says

   pip3.12.8a-lyrical-magical install xyzyzy
To match pip3.14q or whatever version they are running. With the venv you are much closer to a write-once, run-anywhere situation for writing Python backed and supporting scripts.

There are no comments on this comment yet.