[ Jupyter Notebook ] 使用 Python2 or Python3
安裝 Jupyter notebook 在 Python2 和 3 上:
在 Jupyter notebook 中添加 Python3 和 Python2 的 kernel:
- $ pip2 install jupyter notebook
- $ pip3 install jupyter notebook
新增文件時就可以選擇由 Python3 或 Python2 來編輯了。
- $ ipython2 kernelspec install-self
- $ ipython3 kernelspec install-self

留言
張貼留言