then i have added kernal to jupyter
python -m ipykernel install --user --name=test1
test1 kernel is visible in notebook but it is refrering my base python that is 3.8 i want kernal with 3.7 that is in spec-file.txt
.
later i have updated kernal.json arg to python 3.7 location it is working perfectaly.
but i donot want to updated mannauly any way so that kernal will refer to only virtual env python
This command uses the python executable currently on your $PATH, and therefore creates a kernelspec for whatever your current Python environment is. From your steps, you have created an environment but not activated it, which would mean installing a kernelspec for your default env. You generally need to specify the Python to use explicitly, either via path:
I am having 3 kernel with different python version & I want all 3 kernel should be available from notebook so i need to active all kernel permanently then only it will be available?