question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VS Code can't open .ipynb files

See original GitHub issue

Environment data

  • VS Code version: 1.49.0
  • Extension version (available under the Extensions sidebar): v2020.8.108011
  • OS and version: Ubuntu 20.04
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda python 3.8.3
  • Type of virtual environment used: using conda environment
  • Value of the python.languageServer setting: “Pylance”
  • ipython version: 7.16.1
  • jedi version: 0.17.1
  • ipykernel version: 5.3.2

Expected behaviour

VS Code could open .ipynb normally. It’s opening normally in Jupiter Notebook

Actual behaviour

VS Code keeps loading all the time and won’t open the .ipynb file.

Steps to reproduce:

  1. Open VS Code
  2. Open any .ipynb file.

gif_vscode

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:21
  • Comments:48 (6 by maintainers)

github_iconTop GitHub Comments

54reactions
7kemZmanicommented, Sep 13, 2020

until a proper fix comes out, just click on Maximize Panel Size then on the same button again to open your notebook …

photo-2020-09-13-10-14-28

7reactions
blanpacommented, Sep 14, 2020

until a proper fix comes out, just click on Maximize Panel Size then on the same button again to open your notebook …

photo-2020-09-13-10-14-28

worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS Code can't open ipynb file - Stack Overflow
I've solved (for now) this problem by downgrading jupyter extension to previous version. Go to Extension (in the left vertical panel) ...
Read more >
VS Code can't open .ipynb files · Issue #612 - GitHub
I reinstalled a prior version of VS Code and now I can once again open .Ipynb files no problem. I went from VS...
Read more >
Working with Jupyter Notebooks in Visual Studio Code
If you have an existing Jupyter Notebook, you can open it by right-clicking on the file and opening with VS Code, or through...
Read more >
How to open ipynb files in vscode? - Super User
To use it, first open your ipython file (.ipynb). Then a little button appears on top of the editor that says 'show preview'....
Read more >
Python in Visual Studio Code – May 2022 Release
Then open a Python file, right-click on the editor and select ... only for notebooks (.ipynb files) being run on Jupyter servers that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found