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