3 ms·
How do you run someone's random python script? Did they target a lowest common denominator distro python? Pip / VirtualEnv or any of those systems? Is it actual
by h2odragon 4y ago
How do you run someone's random python script? Did they target a lowest common denominator distro python? Pip / VirtualEnv or any of those systems? Is it actually tied to some notebook thing?
I'd be either using (distribution provided) Python 2.7; or if that doesn't cut it for some reason then probably a custom build interpreter that becomes a part of the project. But I'm just weird that way.
- mc4ndr3 4y agoMatt Parker attempted to run dozens of random Python scripts on his LED Christmas tree. Python is notoriously bad for repeatable builds. Evidently most people don't even bother to write down their dependencies in a pip requirements.txt file. Or Matt doesn't know how to use one. Or both. There's a good reason he began the LED challenge by limiting the third party libraries to just a few specific, well known frameworks. I don't think he indicated any particular version (of the frameworks or of Python). It's 2022 and there are still broken widgets that target 2.x. I believe the Doge guy when he says Musk can't even run Python code due to his ineptitude. I also believe Python is a gamble.
- mirceal 4y agoYes, this guy is an idiot and Musk is reinventing the way we package python as we speak /s
- h2odragon 4y agoSome things, even Musk couldn't fix.