anaconda / nb_conda_kernels

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

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

Closed guyLee687 closed 3 weeks ago

guyLee687 commented 6 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.

mcg1969 commented 3 weeks ago

I'm afraid I don't understand this issue as stated. I'm going to close it, but please feel free to re-open if you can provide more specific details about what you think is occurring, and what should be happening instead.