# Notebook cells hung up in VS Code

**URL:** <https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492>\
**Category:** New to Julia\
**Tags:** vscode\
**Created:** [March 25, 2022, 10:22pm UTC](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492 "2022-03-25T22:22:37Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![Pancho\_Squancho](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pancho_squancho/32/43876_2.png) [@Pancho\_Squancho](https://discourse.julialang.org/u/Pancho_Squancho)\
**Post date:** [December 3, 2022, 5:00am UTC](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492/42 "2022-12-03T05:00:34Z")

</div>

Just a heads, it turns out the IJulia kernel was not actually running in my Julia notebook opened in VScode. The results of `isdefined(Main, :IJulia)` and `Main.IJulia.inited` were both false. I’m not exactly sure what backend was running the notebook, I’m assuming still IJulia since I needed it downloaded globally, but something must have still been messed up.

As an end user, this was an issue because I wanted access to specific IJulia commands, such as `IJulia.clear_output()`. In order to get VScode to start IJulia and realize it was running in my notebooks, I had to make a symlink from the (at the time non-existence) path to where Julia itself normally installs itself when using the exe/dmg, to where I had actually installed it with Homebrew. Not sure why, but IJulia automatically assumes to check for the exe/dmg location for the julia executable, and that, apparently, was causing me some issues.

Hope this helps someone out there!

---

<div class="post-metadata">

**Author:** ![PersiaJK](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/persiajk/32/213262_2.png) [@PersiaJK](https://discourse.julialang.org/u/PersiaJK)\
**Post date:** [November 8, 2024, 10:33am UTC](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492/43 "2024-11-08T10:33:25Z")

</div>

Hello I am having the exact same problem but from the answers I read I couldn’t find a solution.

---

<div class="post-metadata">

**Author:** ![tduretz](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tduretz](https://discourse.julialang.org/u/tduretz)\
**Post date:** [May 6, 2025, 2:22pm UTC](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492/44 "2025-05-06T14:22:25Z")

</div>

Hi, it happens quite regularly in the lectures where we use the combination of VScode notebooks with Julia. I’ve not managed to identify a robust solution so far. For some students it ends up woking after restarting VScode a couple of times, for others it works after an OS restart, for other it works after a clean uninstallation/reinstallation (involving deletion of the .julia/ folder or even the [.vscode/](https://discourse.julialang.org/t/problem-with-installing-julia-notebooks-for-a-course/121540/10) folder). Now, a pragmatic solution is to switch to using google colab, whenever this problem is met…

[Previous page](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492.md?page=2)
