参考:
https://blog.csdn.net/qq_34319660/article/details/126246351
基本上就是如下几步
启动环境
conda activate LLM_env
查看已安装路径
jupyter kernelspec list
安装ipykernel
pip install --user ipykernel
添加当前环境到Jupyter
python -m ipykernel install --user --name=LLM_env
再次查看环境
jupyter kernelspec list
Available kernels:
llm_env D:\Users\a\AppData\Roaming\jupyter\kernels\llm_env