首先 我們安裝pip3
證實(shí)一下有沒有python3:
Available kernels:
python2 /usr/lib/python2.7/site-packages/ipykernel/resources
沒有就安裝pip3:
sudo apt-get install python3-pip
升級:
sudo pip3 install --upgrade pip
然后輸入命令:
pip3 install ipykernel
再輸入:
python3 -m ipykernel install
然后鸽心,再次啟動(dòng)Jupyter Notebook:
jupyter notebook