-
Notifications
You must be signed in to change notification settings - Fork 286
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
Kernel Provisioning: The 'local-provisioner' is not found. #800
Comments
This message appears after a clean install to a virtual environment. |
Hi @utkonos.
When you updated jupyter_client, were you using jupyter_client 6.x prior to this particular update?
I'm not familiar with virtual environments, but I wonder if it's a similar thing where the entrypoints package sees the distribution from, in this case, another (base?) virtual environment or something. |
Actually, I see the issue and it's independent of how the python env is setup (venv or conda). In 7.3.2 the
Whereas 7.3.1 has the following content:
I suspect this is due to the changes to use flit in #781 where this stanza of the entrypoints got dropped when |
Thanks! I see that. That looks like the root cause of the message. I'm looking at I use entry points in my own projects, but I am still using [project.entry-points."jupyter_client.kernel_provisioners"]
local-provisioner = "jupyter_client.provisioning:LocalProvisioner" Or is this missing for a specific reason and should not be added to the |
Yes, that is correct. I have confirmed it works, but if you'd like to make the contribution, I'd be happy to shepherd it through! You'll have to uninstall the current jupyter_client to get the dev version to install. |
@kevin-bates PR coming right up. One sec. |
I'm encountering a problem after the update to jupyter_client 7.3.2. The following error is appearing:
I found a thread with a similar problem from last year:
https://discourse.jupyter.org/t/kernel-python-3-is-referencing-a-kernel-provisioner-local-provisioner-that-is-not-available-ensure-the-appropriate-package-has-been-installed-and-retry/10436/9
pip install --force-reinstall jupyter_client
didn't help. Also, I've looked in{sys.prefix}/lib/pythonX.Y/site-packaes
as was recommended, but I don't see a second directory.I will probably delete the virtual environment and reinstall the whole jupyter instance from
pip install jupyter
to see if that fixes it.The text was updated successfully, but these errors were encountered: