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

Active interpreter is being cached too long #6087

Closed
Tracked by #1122
rchiodo opened this issue Jun 2, 2021 · 4 comments
Closed
Tracked by #1122

Active interpreter is being cached too long #6087

rchiodo opened this issue Jun 2, 2021 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel)

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Jun 2, 2021

Set active interpreter to something that requires ipykernel
Reload VS code
Open py file with cells
Run cell
Ipykernel install should come up. Cancel
Set active interpreter to something that doesn't require ipykernel
Run cell

Expected:
Cell run

Actual:
Ipykernel install is coming up.

Seems like the cache for active interpreter is not being cleared.

@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label Jun 2, 2021
@DonJayamanne
Copy link
Contributor

This works for me on a Mac.

@rchiodo rchiodo added this to the July 2021 Release milestone Jun 3, 2021
@rchiodo rchiodo added the verification-needed Verification of issue is requested label Jul 26, 2021
@rchiodo
Copy link
Contributor Author

rchiodo commented Jul 26, 2021

Not sure if this is working or not. Needs to be verified.

@rchiodo rchiodo closed this as completed Jul 26, 2021
@roblourens
Copy link
Member

Seems very flaky. I have two venv's, "nokernel" and "yeskernel", only "yeskernel" has ipykernel installed

Sometimes I see

  • Select "nokernel"
  • Run a cell
  • Ipykernel install prompt comes up, pick "Select kernel"
  • Pick "yeskernel"
  • The kernel does not actually change, the picker still says "nokernel"
  • Try to run a cell again
  • Nothing happens

Also saw it switch to yeskernel, but "run cell" does nothing

@roblourens roblourens reopened this Jul 29, 2021
@rzhao271 rzhao271 removed the verification-needed Verification of issue is requested label Jul 29, 2021
@greazer greazer modified the milestones: July 2021, August 2021 Jul 30, 2021
@greazer greazer added the notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel) label Aug 2, 2021
@greazer greazer modified the milestones: August 2021, old August 2021 Aug 9, 2021
@DonJayamanne
Copy link
Contributor

@rchiodo is this still an issue?

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Feb 22, 2022
@DonJayamanne DonJayamanne self-assigned this Mar 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 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-kernel Kernels issues (start/restart/switch/execution, install ipykernel)
Projects
None yet
Development

No branches or pull requests

5 participants