Time
#!connect jupyter is taking very long, for me it took 4.5m+. Please can anyone tell me why. ( Polyglot Notebooks .dib )
Can you provide an example of the code you're running? Also, how is Jupyter configured on your machine? For example, do you run it via Conda, Anaconda, or another way?
I am also seeing the problem. I've not seen the command complete successfully. The specific code that I am running is:
#!connect jupyter --kernel-name python3 --kernel-spec python3
I have javascript set as the default language for the notebook (because python isn't an option), so its running in a javascript code cell. Maybe I'm doing something wrong?
The #!connect command isn't specific to any language so it shouldn't matter which language the cell is.
@mattsull-psu, I have the same question for you. How is Jupyter installed on your machine? For example, do you run it via Conda, Anaconda, Python virtual environment...?
Sorry for the slow reply. I had Jupyter installed as an extension in VS Code. I was using venv for my environment and had installed the kernel via pip.
As it happens, I was able to resolve the issue by editing the kernel.json file. It was created automatically with a full path to the python executable. I replaced that full path with just "python", and that fixed the issue.
Thanks @mattsull-psu!
@kvlanger, are you still seeing this issue? Can provide more details about your environment?