llm_engineering icon indicating copy to clipboard operation
llm_engineering copied to clipboard

Useful to have conda env. available in jupyter lab

Open rcuevass opened this issue 10 months ago • 2 comments

Upon creating the conda virt. env, llms, I think it useful to have that environment available within the list of kernels once jupyeter lab is launched. I added few lines in SETUP-PC.md describing the process.

rcuevass avatar Feb 18 '25 17:02 rcuevass

hey @rcuevass thank you for this. Help me understand this - for me, if I activate the llms environment with: conda activate llms and then in the Anaconda Prompt, I launch jupyter lab with: jupyter lab Then the kernel runs in the activated environment, without needing to install anything else or select the kernel. Does that not happen for you? Thanks so much

ed-donner avatar Feb 18 '25 19:02 ed-donner

hey @ed-donner . If you launch jupyer from the the conda env llms one would think the kernel runs in the activated env. I remember that not wokring for me in the past in other projects (specially on Windows), thus I have made what I proposed in the README a practice.

In addition, with this approach one could launch jupyter in the base env and then select the llms kernel at the jupyter lab level.

Hope that helps

rcuevass avatar Feb 18 '25 22:02 rcuevass