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.

Native Notebooks - Python env for specific notebook is not remembered between sessions

See original GitHub issue

Environment data

Version: 1.54.0-insider Commit: c47da720f351455681978a48edc4d9a0d095ea0e Date: 2021-02-24T12:22:35.736Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin x64 20.3.0

  • VS Code version: 1.54.0-insider
  • Jupyter Extension version: v2021.3.593162453
  • Python Extension version: v2021.3.593199507-dev
  • OS and version: Darwin x64 20.3.0
  • Python and/or Anaconda version: 3.8.1
  • Type of virtual environment used: Conda
  • Jupyter server running: Local

Expected behaviour

Specific conda env is remembered for .ipynb notebook between vscode restarts/reloads.

Actual behaviour

After every restart jupyter env reverts to the same conda env instead of the one set for current notebook. (same one every time, seems to be arbitrary, cant find anywhere this is defined).

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Open my_notebook.ipynb
  2. reload window
  3. reopen my_notebook.ipynb

Logs

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

XXX

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
jaymegordocommented, Mar 9, 2021

Yep the enotdir error was on: vscode-insiders: 1.55.0 python: v2021.3.636328865-dev jupyter: whichever vsix you just linked to

I’ll open new issues for the other two

1reaction
DonJayamannecommented, Mar 9, 2021

Oh, so that should have the fixes. This is a new issue. I’ll create a new issue to track this ENOTDIR issue. Hope you dont mind it, its easier for us to track issues & work done/tobe done…

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Notebook | Query and analyze data - Mode Support
Every Mode report contains an integrated notebook-style environment where analysts can extend their analysis using either Python or R.
Read more >
Python/Jupyter notebook in VSCode does not use the right ...
The problem. When the notebook is opened in VSCode, the Jupyter kernel seems to use the base environment's Python interpreter instead of the...
Read more >
About Notebook Sessions - Oracle Help Center
Learn how to work with your Data Science notebook sessions, which are interactive coding environments for building and training models.
Read more >
What are Jupyter Notebooks and why would I want to use one?
Jupyter notebooks are a great way to generate reproducible scientific analysis workflows in python. You can mix documentation, code, tables, and figures in ......
Read more >
Working with EMR Notebooks - AWS Documentation
With EMR Notebooks, the notebook editor you access from the Amazon EMR console is the ... If changes have not yet been saved,...
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