I haven't tried anything ipython for a very long time so not sure I can 
help much. These two lines in the traceback stand out to me though:

  File ".\leo\plugins\qt_gui.py", line 1424, in show_tips
ModuleNotFoundError: No module named 'leo.core.leoTips'


*...later:* Win10 x64, python 3.6.9 in a conda env.

python .\launchLeo.py --ipython

leoIpython.py: can not import connect_qtconsole
leoIpython.py: can not import IPKernelApp
Leo 6.3-devel, devel branch, build 8051ecd172
2020-04-05 05:55:36 -0500

Leo worked fine, but no ipython, which isn't surprising because I haven't 
installed it.

pip install notebook
python .\launchLeo.py --ipython

*Now *Leo locks up like you described earlier. However there's a message in 
the console:

[IPKernelApp] WARNING | Eventloop or matplotlib integration failed. Is 
matplotlib installed?
new_qt_console <subprocess.Popen object at 0x0000015DEFE77DA0>

So I pip installed matplotlib and tried again. Leo now does not lock up and 
appears to functioning normally. The console still complains that 
matplotlib integration fails though.

Here's the last console log:

# python .\launchLeo.py --ipython

Leo 6.3-devel, devel branch, build 8051ecd172
2020-04-05 05:55:36 -0500
don't forget to launch leo-ver-serv!!!
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
 --existing kernel-4816.json
[IPKernelApp] WARNING | Eventloop or matplotlib integration failed. Is 
matplotlib installed?
new_qt_console <subprocess.Popen object at 0x000002657FF2B2E8>
wrote recent file: D:/Matt/Dropbox/.leo/.leoRecentFiles.txt
error writing D:/Matt/Dropbox/.leo/.leoRecentFiles.txt
Traceback (most recent call last):

 File "D:\Matt\code\leo-editor\leo\core\leoApp.py", line 4009, in 
writeRecentFilesFileHelper
 with io.open(fileName, encoding='utf-8', mode='w') as f:

OSError: [Errno 22] Invalid argument: 'D:/Matt/Dropbox/.leo/.leoRecentFiles.
txt'

QSocketNotifier: Multiple socket notifiers for same socket 2224 and type 
Read
QSocketNotifier: Multiple socket notifiers for same socket 2288 and type 
Read

After exiting Leo I needed to Ctrl-C in the console window to get control 
back.

*Summary:* `pip install notebook matplotlib` is enough to get Leo iself 
working with python 3.6 (windows) but I'm not sure if the ipython 
connection is working/usable.

-matt

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/20d92b4b-a79b-4941-9646-f4f3e480354e%40googlegroups.com.

Reply via email to