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.

Importing a jupyter notebook should show the last output

See original GitHub issue

Environment data

  • VS Code version: 1.31.1
  • Extension version (available under the Extensions sidebar): 2019.3.6558
  • OS and version: windows10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda

Expected behaviour

jupyter-notebook

Actual behaviour

14

Steps to reproduce:

  1. XXX

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

XXX

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:23 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
jianboycommented, May 20, 2019

Yeah it looks like tensorflow doesn’t have session anymore. I must have installed too new of a tensorflow

tensorflow/tensorflow#26816

The function I want is just to preview the file when I open a jupyter file. and can run code.

1reaction
rchiodocommented, May 20, 2019

Something like this: https://atom.io/packages/hydrogen

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing a jupyter notebook should show the last output #3403
It does this now. All you have to do is click on the 'Run Below' command at the very top. That will run...
Read more >
How to display full output in Jupyter, not only last result?
Thanks to Thomas, here is the solution I was looking for: from IPython.core.interactiveshell import InteractiveShell ...
Read more >
Importing Jupyter Notebooks as Modules - Read the Docs
Import hooks typically take the form of two objects: a Module Loader, which takes a module name (e.g. 'IPython.display' ), and returns a...
Read more >
Changing Notebook Cell's Default Output — A Quick Jupyter ...
After creating this file, you'll see that it changes the default cell output behavior for the new Notebooks. Super cool, right?
Read more >
Jupyter Notebook Enhancements, Tips And Tricks - fastai
Pretty Print All Cell's Outputs (and not just the last output of the cell). Normally only the last output in the cell gets...
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