Create a new env, leobase2, ran:
pip install --editable .
with setuo,py modified so the nbformat requirement was commented out, (to
do nothing with juypter/iPython). Then I ran:
pip install notebook
to get all the Juypter/iPython stuff. Ran:
python .\launchLeo.py --ipython
Got this:
Leo 6.3-devel, devel branch, build 269d953c87
2020-04-03 10:51:14 +0200
kernelApp.initialize failed!
Traceback (most recent call last):
File "C:\VC\git\leo-editor\leo\plugins\qt_gui.py", line 1345, in
runWithIpythonKernel
g.app.ipk = leoIPython.InternalIPKernel()
File "C:\VC\git\leo-editor\leo\core\leoIPython.py", line 98, in __init__
kernelApp = self.pylab_kernel(backend)
File "C:\VC\git\leo-editor\leo\core\leoIPython.py", line 220, in
pylab_kernel
kernelApp.initialize(args)
File "<decorator-gen-125>", line 2, in initialize
File
"C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\traitlets\config\application.py",
line 87, in catch_config_error
return method(app, *args, **kwargs)
File
"C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\ipykernel\kernelapp.py",
line 550, in initialize
self.write_connection_file()
File
"C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\ipykernel\kernelapp.py",
line 225, in write_connection_file
write_connection_file(cf, ip=self.ip, key=self.session.key,
transport=self.transport,
File
"C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\jupyter_client\connect.py",
line 138, in write_connection_file
with secure_write(fname) as f:
File "C:\ProgramData\Miniconda3\envs\leobase2\lib\contextlib.py", line
113, in __enter__
return next(self.gen)
File
"C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\jupyter_core\paths.py",
line 435, in secure_write
win32_restrict_file_to_user(fname)
File
"C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\jupyter_core\paths.py",
line 361, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed while importing win32api: The specified module
could not be found.
can not init leo.core.leoIPython.py
--
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/a62de129-fbb5-4d35-b876-f35cc6d1fcec%40googlegroups.com.