Set python var before updating npm