Skip to content

Commit

Permalink
Merge pull request #22371 from ccordoba12/fix-start-kernel-for-old-conda
Browse files Browse the repository at this point in the history
PR: Fix starting kernels for old Conda versions (IPython console)
  • Loading branch information
ccordoba12 authored Aug 22, 2024
2 parents ad74fce + 6f6dee9 commit 30f977d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spyder/plugins/ipythonconsole/utils/kernelspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ def argv(self):
if conda_exe.endswith('micromamba'):
kernel_cmd.extend(['--attach', '""'])
else:
kernel_cmd.append('--live-stream')
# Note: We use --no-capture-output instead of --live-stream
# here because it works for very old Conda versions.
kernel_cmd.append('--no-capture-output')

kernel_cmd.extend([
pyexec,
Expand Down

0 comments on commit 30f977d

Please sign in to comment.