diff -r 323e47d167e0 -r 328d92d8db48 scripts/install.py --- a/scripts/install.py Wed May 06 18:15:52 2020 +0200 +++ b/scripts/install.py Thu May 07 18:59:26 2020 +0200 @@ -48,6 +48,8 @@ defaultMacAppBundlePath = "/Applications" defaultMacPythonExe = "{0}/Resources/Python.app/Contents/MacOS/Python".format( sys.exec_prefix) +if not os.path.exists(defaultMacPythonExe): + defaultMacPythonExe = "" macAppBundleName = defaultMacAppBundleName macAppBundlePath = defaultMacAppBundlePath macPythonExe = defaultMacPythonExe @@ -1074,7 +1076,7 @@ if not os.path.exists(directory): os.makedirs(directory) - if macPythonExe == defaultMacPythonExe: + if macPythonExe == defaultMacPythonExe and macPythonExe: starter = os.path.join(directories["exe"], "eric") os.symlink(macPythonExe, starter) else: