anaconda / nb_conda_kernels

Package for managing conda environment-based kernels inside of Jupyter
BSD 3-Clause "New" or "Revised" License
588 stars 70 forks source link

nb_conda_kernels does not set the kernel to the correct active environment #271

Open guyLee687 opened 4 months ago

guyLee687 commented 4 months ago

It looks like https://github.com/anaconda/nb_conda_kernels/blob/04c5fc605c08a4ced0cc45d2a6507dea40897600/nb_conda_kernels/runner.py#L32

image

is trying to activate the environment in a subprocess and which isn't used in when running kernelspec args.