classification
Title: Edit "Setting [windows] environmental variables"
Type: behavior Stage: needs patch
Components: Documentation, Windows Versions: Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eryksun, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2017-10-02 19:26 by terry.reedy, last changed 2017-10-02 20:17 by eryksun.

Messages (2)
msg303560 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-10-02 19:26
Python Setup and Usage, 3.3.1. Excursus: Setting environment variables
https://docs.python.org/3/using/windows.html#excursus-setting-environment-variables

The word 'excursus' is so rare and archaic that this is my first encounter with it.  Could we drop it?

The last paragraph starts with "To permanently modify the default environment variables, click Start and search for ‘edit environment variables’,".  This part is fine on Windows 10 as it brings up "Edit the system environment variables" and "Edit environmental variables for your account".  Both take one to an Environmental variables dialog.  The former requires than one be or become an admin user (via UAC dialog). 

The paragraph continues "or open System properties, Advanced system settings and click the Environment Variables button. In this dialog, you can add or modify User and System variables. To change System variables, you need non-restricted access to your machine (i.e. Administrator rights)."

On Windows 10, at least, this is confusing or wrong.  Control Panel has 'System' linked to the System dialog.  This has 'Advanced systems settings' linked to System Properties, but one only get there by being or becoming (via UAC) an admin user.  This has the  Environmental Properties button mentioned above.  It opens Environmental Variables for the admin user you are or are acting as.  This route cannot change EVs for non-admin users.  I have the impression that this has changed since Win 7.
msg303564 - (view) Author: Eryk Sun (eryksun) * Date: 2017-10-02 20:17
AFAIK, the "Advanced system settings" dialog has always required administrator access. To modify the environment for just the current user, in the control panel there's "User Accounts" => "Change my environment variables".
History
Date User Action Args
2017-10-02 20:17:56eryksunsetnosy: + eryksun
messages: + msg303564
2017-10-02 19:26:06terry.reedycreate