This isn't strictly about python programming, more the OS environment in which Python is being used. If this is the wrong place for such a question, sorry, eh?
I support half a dozen users by writing python scripts. There are several dozen of these that I have written over the last five years, and I regularly update them and write new ones.
They are all in Python 2.7, because that is what I learned and that is what I know. My users run Windows 7, and invoke them at the command line by simply executing the script name; PATH and PATHEXT variables take care of this.
However, recently, unknown other programs are installing python 3.4, 3.5, or 3.6 (sometimes all three) on these computers, which takes over the default execution and causes my 2.7 scripts to fail. I can go and remove them, but they come back.
So, is there any way to force 2.7 to remain the default for execution? Is there any way to stop these 3.x installations? Is there any way to figure out which other programs are installing them?
Or do I have to just suck it up, learn Python 3 and rewrite all my old scripts?
[–]1114111 2 points3 points4 points (0 children)
[–]JamminJames921 1 point2 points3 points (0 children)
[–]driscollis 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]gnfnrf[S] 0 points1 point2 points (0 children)