先安裝 Python2 和 Python3 的 ipython notebook

pip2 install ipython notebook
pip3 install ipython notebook

分別用各自的 ipython 執行下面的指令

ipython2 kernelspec install-self
ipython3 kernelspec install-self

就能在 ipython notebook 裡面同時使用兩種版本的 Python 了
1_jupyter
Python2 上面是另一個也被 jupyter notebook 支援的語言 julia
最近才剛開始碰,有機會再來分享 julia 的心得

Reference

Using both Python 2.x and Python 3.x in IPython Notebook

Share on: TwitterFacebookEmail

Comments

Do you like this article? What do your tink about it? Leave you comment below

comments powered by Disqus

Published

Read Time

1 min

Category

Tech

Tags

Keep In Touch