by ActorNightly · 3y ago · 0 comments
You may end up with an incomplete python without proper tkinter, ssl or zip support. Sometimes it will look like it works, only to fail later down the line when you use some part of openssl that requests don't exercice often or when you install numpy/scipy wheels. Not to mention someone will do "make install" instead of "altinstall" and break their machine with a 3 letters mistake since apt or rpm python will get erased.
If you wonder how to setup a python venv, you should not compile anything (so no oyenv neiter). In the same way that if you wonder what oil to put in your car, you should not attempt to fix your breaks.
The fact you suggested it underlines my point that you are too experienced with the stack to give advices that would be useful for most confused devs in python. A C# dev that starts python just wants, and needs, one reliable happy path.
In fact, it's part of the problem. Paradox of choice, with too many solutions that won't fit the average user context.
Funnily, now that I get close to 20 years of python, I find myself going back to the beginner stuff.
The test of a tool is learnability.
But instead of having to learn about how to setup python, they will spend the same time learning on how to solve their problem with python.
Given that days have only 24 hours, the latter is more attractive to a lot of people.
I specifically said after installing dependencies, which is mentioned in the documentation.
Even if the 10 most popular distros were documented, with all their supported versions, and if it covered windows and mac versions as well, and dealt with people in corporation not having admin rights on their machine, you'd still have so many steps a human error will be more likely to be inserted than just use what I suggested.
Again showing that you are so good at dealing with complexity you are not even seing it.
The only way I could convince you at this point would be to make you train 10 different teams, of 10 different people in 10 different contexts and give you one million of dollar if after one year you come back to see that their department has this stuff streamlined.
But I can't do that so that will have to be the end of this thread.
> If you want to just write scripts to test things ...
So often "just scripts" evolve into long term projects, and, due to time pressure etc. never free themselves of bad foundations.