2306 venvName, _ = venvManager.getDefaultEnvironment() |
2306 venvName, _ = venvManager.getDefaultEnvironment() |
2307 else: |
2307 else: |
2308 venvName = "" |
2308 venvName = "" |
2309 if venvName: |
2309 if venvName: |
2310 interpreter = venvManager.getVirtualenvInterpreter(venvName) |
2310 interpreter = venvManager.getVirtualenvInterpreter(venvName) |
|
2311 if not interpreter: |
|
2312 interpreter = Globals.getPythonExecutable() |
2311 execPath = venvManager.getVirtualenvExecPath(venvName) |
2313 execPath = venvManager.getVirtualenvExecPath(venvName) |
2312 |
2314 |
2313 # build a suitable environment |
2315 # build a suitable environment |
2314 if execPath: |
2316 if execPath: |
2315 if "PATH" in clientEnv: |
2317 if "PATH" in clientEnv: |