Jupyter QtConsole 4.5.1 Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help. Cannot restart a Kernel I did not start
Jupyter QtConsole 4.5.1 Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help. copyright Out[1]: Copyright (c) 2001-2018 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved.
Close the terminal "PS C:UsersViktorpyveVE4ILeo>" as well ...
Time to reflect & to start another discussion thread on the leo-editor google-group ;-)
Hello Edward & Community,Since I'm still waiting for feedback on the two other topics I raised here earlier, I spent some time this morning to investigate Leo’s IPython Bridge.I was able to create an environment, where the Jupyter QtConsole (JQC) is started - however - the associated Leo outline, in my case "quickstart.leo", becomes unusable as soon as the JQC starts :-(Is anybody else experiencing the same issue - or - can you tell me what I'm doing wrong / what I should change? - TIA!
I used to use the IPython bridge regularly, back before they renamed IPython to Jupyter. I haven't touched recent versions.The fact that this doesn't work for you now is potentially the result of code rot; with enough changing in the IPython/Jupyter API to finally(? surprised it didn't happen earlier) break the bridge. I doubt anyone has touched this bridge code in a while. Ville is for the most part long gone. I reached out to him a couple years back and while he responded and was cordial his memory of events wasn't good enough to move my issue forward.I'm not saying that you need to abandon your efforts but unless somebody else chimes in you may not receive additional guidance.
Firstly, however, try to determine if it's worth your time.The IPython bridge doesn't buy you much. It gave me the ability to use IPython's interactive REPL on some of Leo's internals. Most importantly it let me view object structure using auto-completion to dig down into various objects. This was helpful when developing some plugins. You can most likely do similar investigations via Leo scripting, Edward is a wizard at this type of stuff and I'm sure has recipes for any type of Leo introspection you might want to do.If Leo is missing anything it's not necessarily IPython/Jupyter integration as is often requested but in general a terminal/console like REPL linked to its internals.Perhaps you should let us know what you want to do with the bridge before spending a lot of time trying to get it to work. I would say there is only small chance it's going to aid your efforts.
Hello Edward & Community,Since I'm still waiting for feedback on the two other topics I raised here earlier, I spent some time this morning to investigate Leo’s IPython Bridge.I was able to create an environment, where the Jupyter QtConsole (JQC) is started - however - the associated Leo outline, in my case "quickstart.leo", becomes unusable as soon as the JQC starts :-(
I was able to create an environment, where the Jupyter QtConsole (JQC) is started - however - the associated Leo outline, in my case "quickstart.leo", becomes unusable as soon as the JQC starts :-(IPython/Jupyter should be installed using Anaconda. That's the only recommended way, I think. Hundreds of thousands of scientists use Jupyter this way. I strongly suggest you do too.I don't understand this answer of yours!