1、在dos窗口輸入以下命令激活環(huán)境:anaconda activate 【py環(huán)境名,比如py37】(目的是新家你一個虛擬環(huán)境)
2、在虛擬環(huán)境py37下安裝jupyter notebook,命令:pip install jupyter notebook
3、安裝ipykernel,命令:conda install ipykernel
4、將虛擬環(huán)境注入jupyter notebook,命令:
python -m ipykernel install --user --name 【環(huán)境名稱】 --display-name 【在jupyter中顯示名字】
如:python -m ipykernel install --user --name py37 --display-name py37(可以和環(huán)境名一樣,也可以不一樣。)文章來源:http://www.zghlxwxcb.cn/news/detail-815914.html
5、運行jupyter notebook,命令:jupyter notebook文章來源地址http://www.zghlxwxcb.cn/news/detail-815914.html
到了這里,關(guān)于jupyter內(nèi)核錯誤的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!