diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/EricNetwork/EricGoogleMailHelpers.py --- a/src/eric7/EricNetwork/EricGoogleMailHelpers.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/EricNetwork/EricGoogleMailHelpers.py Sun Dec 18 19:33:46 2022 +0100 @@ -11,6 +11,7 @@ from eric7 import Globals from eric7.EricWidgets.EricApplication import ericApp +from eric7.SystemUtilities import PythonUtilities SCOPES = ["https://www.googleapis.com/auth/gmail.send"] CLIENT_SECRET_FILE = "eric_client_secret.json" # secok @@ -39,4 +40,6 @@ Module function to install the required packages to support Google mail. """ pip = ericApp().getObject("Pip") - pip.installPackages(RequiredPackages, interpreter=Globals.getPythonExecutable()) + pip.installPackages( + RequiredPackages, interpreter=PythonUtilities.getPythonExecutable() + )