Yes, Linux. Also, I know how to use a shebang, which command, install to user, and/or pythonX.Y -m ... to avoid problems. Perhaps newbies don’t get enough of that advice?
I try my stuff on macos without issue, but perhaps not there enough to have big problems.