762 venvName, _ = venvManager.getDefaultEnvironment() |
762 venvName, _ = venvManager.getDefaultEnvironment() |
763 else: |
763 else: |
764 venvName = "" |
764 venvName = "" |
765 if venvName: |
765 if venvName: |
766 interpreter = venvManager.getVirtualenvInterpreter(venvName) |
766 interpreter = venvManager.getVirtualenvInterpreter(venvName) |
|
767 if not interpreter: |
|
768 interpreter = Globals.getPythonExecutable() |
767 execPath = venvManager.getVirtualenvExecPath(venvName) |
769 execPath = venvManager.getVirtualenvExecPath(venvName) |
768 |
770 |
769 # build a suitable environment |
771 # build a suitable environment |
770 if execPath: |
772 if execPath: |
771 if "PATH" in clientEnv: |
773 if "PATH" in clientEnv: |