Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/ansys/tools/installer/installed_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,11 @@ def eventFilter(self, source, event):
def launch_spyder(self):
"""Launch spyder IDE."""
# handle errors
error_msg = "pip install spyder && spyder || echo Failed to launch. Try reinstalling spyder with pip install spyder --force-reinstall"
error_msg = "(pip install spyder && spyder && exit 0) || echo Failed to launch. Try reinstalling spyder with pip install spyder --force-reinstall"
self._update_pck_mnger()
self.launch_cmd(f"spyder || {error_msg}")
self.launch_cmd(
f'pip list | findstr "spyder" && spyder && exit 0 || {error_msg}'
)

def launch_jupyterlab(self):
"""Launch Jupyterlab."""
Expand Down