bertdv / BMLIP

Course 5SSD0 - Bayesian Machine Learning and Information Processing
http://bmlip.nl
Other
35 stars 19 forks source link

update SW instructions to run a notebook #90

Open bertdv opened 1 month ago

bertdv commented 1 month ago

At the BMLIP homepage the following SW instructions are given:

- Please install Miscrosoft's VS code editor and add the Jupyter notebook extension.
- Please install Julia version 1.9 on your machine and then add the Julia extension in VS code.

I have a new machine and I did this. I still could not run the notebooks for my lessons in the VS code editor. I had to add the IJulia package to Julia, and then run Pkg.build("IJulia") in the Julia prompt, otherwise Jupyter cannot find the Julia kernel to run the notebook. This is probably obvious to you, but technically the instructions above are insufficient to run the notebooks in VS code. This will lead to frustration.

Please update the software instructions on the homepage to the exact preparations that a user needs (from scratch) in order to run the notebooks in the VS code editor.

wouterwln commented 1 month ago

Are you running Jupyter, or are you opening notebooks in VSCode? I don't have an IJulia installation but I can open the notebooks in the VSC editor. However, it's difficult for me to demo this since I don't have a "clean" Julia install. Any ideas @wmkouw ?

wmkouw commented 3 weeks ago

When I tested it in a clean environment last year, VSCode downloaded IJulia automatically when I wanted to start a julia kernel in Jupyter. I don't know why this didn't happen on your end. But I will check the procedure and make sure the instructions are exact.