vors / jupyter-powershell

PowerShell language kernel for Jupyter
MIT License
132 stars 26 forks source link

Output is delayed by a code block #5

Closed knoxyca closed 6 years ago

knoxyca commented 7 years ago

The kernel seems to be delayed by a code block. As an example: image

Trying to track this down, it appears that SublimeREPL has an issue for this: https://github.com/wuub/SublimeREPL/issues/14 I have attempted to force Python to Unbuffered output, but did not change anything about this behavior.

ghost commented 7 years ago

How you got so far? Im not able to install the kernel... :/

vors commented 7 years ago

Oh, that's quite bad :(

Thank you for the interest and opening the issue! This is very much proof-of-concept kernel. There are discussion about developing a proper one in PowerShell Virtual User group, @Jaykul may be able to provide some updates.

vors commented 7 years ago

@knoxyca I think SublimeREPL is not compatible with python3, python2 should work.

knoxyca commented 7 years ago

@vors that's what I was reading in the linked issue. I have installed both 3.6 and 2.7 with Anaconda, and both resulted in the same results.

knoxyca commented 7 years ago

@gustiii once you do the install, you need to start Jupyter in the directory that contains the PowerShell kernel. The Readme is a little incorrect, as you can't do jupyter notebook --kernel=powershell. You just do jupyter notebook, then you create a new powershell one from the web interface.

Alternately you can do jupyter console --kernel powershell

Jaykul commented 7 years ago

So yeah, I have a new PowerShell kernel, and although I'm only a couple days in, it's working ... with a few caveats (which I've discussed over there).

I haven't published a build or anything, because I need to get the value-type output to work.

vors commented 6 years ago

Conversation a little bit detoured, but I got the original problem with python2 on windows, on python3 that doesn't happen.