-
Notifications
You must be signed in to change notification settings - Fork 55
Python 3 Kernel Issue #13
Comments
@Ftagn92 it looks like the kernel extension has not been configured for the python 3 kernel, the conf is a variable injected by the sparkmonitor's kernel extension to configure spark to route monitoring data to the kernel In the instructions to install this line does that, perhaps your environment is different,
You can also load the extension manually i think using %load_ext magic in IPython |
Hello krishnan, I have started with your dockerfile, adding 3 python3 lines
it added the python3 kernel correctly, but not the extension
|
Well, i am using python 3 in my desktop now, using anaconda, it does work with python 3, let me try out the docker file you have mentioned. it is actually |
Hello krishnan, I tried this
switch to python3 kernel (menu kernel / change kernel / python3)
Tried F5, ctrl+f5, Close and halt, reload and many combinations, same result :/ Thanks for your help |
Hmm, that seems weird, definitely has some bug to fix, Ill try to fix this, I am working on a major rewrite of the JS part right now. |
On second thought, can you check the browser logs, Jupyter terminal logs, as well as the extension is supposed to output a couple of log files on the same folder as the notebook, kernel_extension.log Are you able to run spark on python 3? The kernel extension seems to load, if spark is not in importable path, then the extension doesn't add the conf...or its throwing some other exception |
Hello Krishnan, I have added a fourth line in my dockerfile
Now sparkmonitor works for both kernels if i switch inside a notebook Thanks for your help |
Hello
I have added a python3 kernel to my jupyter docker image
Is it a way to have sparkmonitor working with both 2.x and 3.x ?
It works fine with a python 2 kernel, but when i switch to 3.x kernel, the conf test raise an error
Thanks for your help
Originally posted by @Ftagn92 in #1 (comment)
The text was updated successfully, but these errors were encountered: