I am using jupyter notebook and jupyter lab through jupyter hub. Currently, the python version recognized by jupyter is 3.6.8.
I want to set the python version to 3.7.3.
The python version installed on the server is as follows. (/usr/bin/python*)
The jupyter notebook kernel is set as follows in /usr/local/share/jupyter/kernels/python3/kernel.json
If you change the argv path to '/usr/bin/python3' or '/usr/bin/python3.7', the kernel is busy and the connection is not made. TT It works well only when argv path is '/usr/bin/python 3.6'.
- Setting Code
sudo apt-get install python3-pip
sudo pip3 install ipykernel
sudo jupyter kernelspec install-self
CodePudding user response:
as this post says, you need to create a new kernel and this website shows how to do it
CodePudding user response:
I solved it by reinstalling the below packages. thank you.
pip3 install tornado==5.1.1
pip3 install notebook==5.7.4```