--- a/scripts/install.py Tue Oct 22 19:56:56 2019 +0200 +++ b/scripts/install.py Wed Oct 23 18:46:46 2019 +0200 @@ -330,13 +330,13 @@ '''start "" "{2}\\pythonw.exe"''' ''' "{0}\\{1}.pyw"''' ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\n'''.format( - pydir, wfile, sys.exec_prefix) + pydir, wfile, os.path.dirname(sys.executable)) ) else: wrapper = ( - '''@"{0}\\python" "{1}\\{2}.py"''' + '''@"{0}" "{1}\\{2}.py"''' ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\n'''.format( - sys.exec_prefix, pydir, wfile) + sys.executable, pydir, wfile) ) # Mac OS X