Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically disconnect local conda kernel and switch to dummy kernel. #10514

Closed
fangning-ren opened this issue Jun 20, 2022 · 2 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-getting-started

Comments

@fangning-ren
Copy link

Environment data

  • VS Code version: 1.68.1
  • Jupyter Extension version (available under the Extensions sidebar): v2022.5.1001601848
  • Python Extension version (available under the Extensions sidebar): v2022.8.0
  • OS (Windows | Mac | Linux distro) and version: windows 10 education
  • Python and/or Anaconda version: 3.9.12/4.12.0
  • Type of virtual environment used: conda
  • Jupyter server running: Local

Expected behaviour

connect to my conda kernel and run every cells

Actual behaviour

##Three possible behaviors

  1. shows no kernel and do nothing
  2. shows a kernel named "Python 3" with no python installed. Click run cell will norify me to install python
  3. shows the correct kernel at the beginning. but it switch back to no kernel or the "Python 3" kernel in one seconds.
  4. shows the correct kernel at the beginning. Could run a few commands. But soon switch to no kernel or the "Python 3" kernel.

Steps to reproduce:

  1. Create a new notebook
  2. Open it with vscode.
  3. create a new cell.
  4. Select kernel to anything except "Python 3".
  5. run the cell. The cell may be correctly executed.
  6. Then the kernel is autometicly disconnected with no reason.

1 ipynb - figures - Visual Studio Code 2022-06-20 18-16-18

@fangning-ren fangning-ren added the bug Issue identified by VS Code Team member as probable bug label Jun 20, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Jun 20, 2022
@DonJayamanne
Copy link
Contributor

Thanks for reporting this issue, i believe this has been resolve din our pre-reelase build.
Please could you:

  • Install our pre-release build as follows:
  • Go into the extensions tab & search for Jupyter, then click the button Switch to Pre-Release Version
    See below
    Screen Shot 2022-06-24 at 12 22 21

Please let me know how that goes

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Jun 24, 2022
@greazer greazer changed the title Autometicly disconnect local conda kernel and switch to dummy kernel. Automatically disconnect local conda kernel and switch to dummy kernel. Jun 24, 2022
@greazer greazer removed the triage-needed Issue needs to be triaged label Jun 27, 2022
@amunger
Copy link
Contributor

amunger commented Aug 8, 2022

closing since it has been over a month since the info was requested

@amunger amunger closed this as completed Aug 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-getting-started
Projects
None yet
Development

No branches or pull requests

5 participants