Skip to content

Commit

Permalink
Always activate a conda environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Feb 8, 2024
1 parent cf49237 commit 3247947
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spyder/plugins/ipythonconsole/utils/kernelspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,8 @@ def argv(self):
self.set_conf('default', True, section='main_interpreter')
self.set_conf('custom', False, section='main_interpreter')

# Part of spyder-ide/spyder#11819
is_different = is_different_interpreter(pyexec)

# Command used to start kernels
if is_different and is_conda_env(pyexec=pyexec):
if is_conda_env(pyexec=pyexec):
# If this is a conda environment we need to call an intermediate
# activation script to correctly activate the spyder-kernel

Expand Down

0 comments on commit 3247947

Please sign in to comment.