在kernel選項中只有一個python2的版本,怎么增加python3:
1.先通過命令行(命令提示符)把環境切換為py3 —— activate py3
2.輸入以下命令:
python -m ipykernel install --user
3.啟動 jupyter notebook
4.新建 —— 出現兩個選項python2 & python3
5.通過新建里面的kernel——change kernel也能切換python2 & python3
在kernel選項中只有一個python2的版本,怎么增加python3:
1.先通過命令行(命令提示符)把環境切換為py3 —— activate py3
2.輸入以下命令:
python -m ipykernel install --user
3.啟動 jupyter notebook
4.新建 —— 出現兩個選項python2 & python3
5.通過新建里面的kernel——change kernel也能切換python2 & python3
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。