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

Executing using active kernels anywhere on the computer is confusing and hard to debug #1716

Open
choldgraf opened this issue Jan 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@choldgraf
Copy link
Collaborator

When executive a MySTMD document with --execute, MyST will search for any active kernel and use it rather than spinning up a new kernel with the local environment. This happens more-or-less silently.

It is really confusing when you're trying to run Jupyter Book in an isolated environment. For example, say you want to build a book with nox using an environment that's installed locally. But, you've got a Jupyter kernel running anywhere else on your machine. When the book executes, it won't spin up a kernel for the isolated environment, it'll just re-use the existing kernel and whatever things are installed there.

Note: I think we've discussed this before but I couldn't find an issue, so please close and re-direct if there's a better place.

@choldgraf choldgraf added the bug Something isn't working label Jan 4, 2025
@choldgraf choldgraf moved this to Needed for beta in Jupyter Book MVP Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needed for beta
Development

No branches or pull requests

1 participant