JupyterNotebook如何使用新版的Python kernel?

假設原本為3.6版本的python,因套件需要,升級至3.8版本後,原本的jupyter notebook仍舊是3.6版本的kernel,可以透過以下的方式升級至3.8版的kernel:

pip3 install ipykernel --upgrade
python3 -m ipykernel install --user

參考資料

--

--

Machine Learning | Deep Learning | https://linktr.ee/yanwei

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store