There is no perfect solution, but most imperfect attempts are superior to doing nothing.
So it's teaching them a language they can't use to augment their work between or pass their work to other non-techies.
Pyinstaller will produce PE, ELF, and Mach-O executables, and
Py2wasm will produce wasm modules that will run in just about any modern browser.
(I'm guessing that's what you were hinting at.)
If we're teaching everyone some language, we could very much decide that this language ought to be installed in the "normal person computing environment".
I definitely don't want people to learn to write code from JavaScript as it has way too many issues to be deemed representative of the coding experience.
Now imagine if we’d managed to do that with JS or Python instead.
Also digital literacy is a fantastic skill - I'm all for it. And I think that digital (and cultural) literacy leads me to wonder if AI is making the human experience better, or if it is primarily making corporations a lot of money to the detriment of the majority of people's lives.
Perhaps that's also a reason why - tech is so large, there's no time in a traditional curriculum to teach all of it. And only teaching what's essential is going to be tricky because who gets to decide what's essential? And won't this change over time?