DEV Community

Cover image for Learning Julia (3): Using Jupyter
Z. QIU
Z. QIU

Posted on • Updated on

Learning Julia (3): Using Jupyter

I used for the first time IPython in 2009 when I worked on Arboris-Python during my first year of PhD. Since then I fell in love with this interactive tool for python dev. This tool has then evolved to Jupyter Notebook which is very popular in Python community.

Today I have tried to use Jupyter for Julia development. Below are steps that I have taken to do that (I have already installed Anaconda and Julia beforehand):

  1. start cmd window and run julia;
  2. type ] in julia command line terminal so that it changes to pkg mode;
  3. type add IJulia then enter, wait until the installation finished; Alt Text
  4. start jupyter notebook: either by launching from command-line or by using its shortcut/symlink; for me, I created a bat file which contains the following script (copied from jupyter notebook shortcut) for launching it;
D:\Anaconda3\python.exe D:\Anaconda3\cwp.py D:\Anaconda3 D:\Anaconda3\python.exe D:\Anaconda3\Scripts\jupyter-notebook-script.py 
Enter fullscreen mode Exit fullscreen mode

Now we can check the Julia Env in webpage in our browser:

Alt Text

Test it and enjoy:
Alt Text

Top comments (0)