--- a/RefactoringRope/RefactoringServer.py Tue Oct 11 12:51:38 2022 +0200 +++ b/RefactoringRope/RefactoringServer.py Mon Oct 17 08:37:10 2022 +0200 @@ -2308,6 +2308,8 @@ venvName = "" if venvName: interpreter = venvManager.getVirtualenvInterpreter(venvName) + if not interpreter: + interpreter = Globals.getPythonExecutable() execPath = venvManager.getVirtualenvExecPath(venvName) # build a suitable environment