tdaff / remote_ikernel

All your Jupyter kernels, on all your machines, in one place.
https://pypi.org/project/remote_ikernel/
BSD 2-Clause "Simplified" License
16 stars 14 forks source link

Windows support #18

Open tdaff opened 8 years ago

tdaff commented 8 years ago

Original report by Denis Sergeev (Bitbucket: dennissergeev, GitHub: dennissergeev).


Hi,

Would it be possible to add Windows support? The main problem seems to be that pexpect module is not fully compatible with Windows, especially pexpect.spawn() function: pexpect.readthedocs.org/en/stable/overview.html#pexpect-on-windows

But there is a windows-ported pexpect: https://gist.github.com/anthonyeden/8488763

Is it possible to plug it in? Are there any other limitations on windows?

Thanks.

tdaff commented 8 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


Hi Denis,

Thanks for the request! This is on my todo list. I've looked in to it before, and I think it should be possible... It will need an equivalent for pexpect.spawn() (wexpect or winpexpect, maybe others might work), something to tunnel ssh connections (probably paramiko, since native ssh is not yet available on windows), and a little bit of thinking.

If you need Windows support now, everything should work in cygwin, although I had some trouble getting Jupyter installed last time I tried.

jmu commented 2 years ago

I just learning Python, and tried to use PopenSpawn to send message with Windows . It works for me, although some known bugs have not been solved for the time being, such as unsuccessfully killing the kernel process when pass the button of "shutdown the kernel" on the juptyer UI of client.
https://github.com/jmu/remote_ikernel