Steve Dower <steve.do...@python.org> added the comment:
> why is this confusion not written here >From https://docs.python.org/3/using/windows.html#configuring-python > While the installer provides an option to configure the PATH and PATHEXT > variables for you, this is only reliable for a single, system-wide > installation. If you regularly use multiple versions of Python, consider > using the Python Launcher for Windows. Now, that isn't *exactly* the issue in the original post, but the warning is present. > If you do software deployment in a company you will only have one version so > having more than one version is not the point. Unfortunately not true. It's been a while since I had actual data on this, but last time I did the *majority* had 2 versions installed, and 3-5 versions were all more likely than only a single one. So handling multiple versions matters. > What i have seen now is if you uninstall Python it is not cleaning up the > path variable. We do the best we can by using the native Windows support for installing environment variables. It sometimes doesn't work if you (or another installer) has modified the variable since you installed Python, or if you've updated it yourself. That's out of our control - we can't do a better job than the OS. > if you make append path optional available like prepend everybody can choose Contributions are welcome. We aren't paid to implement features - we volunteer to manage contributions, so if you'd really like this to be in the installer, feel free to go for it. (Last time the installer was modified we had most trouble making the UI not break, but it's probably not too hard if this was a command-line only.) ---------- stage: -> needs patch type: behavior -> enhancement versions: +Python 3.11 -Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44934> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com