You are seeing an error in the "traitlets" package, not really a Leo 
error.  I just did  a fresh install on Windows, and the code in the 
traitlets _version.py file is a little different from what your error 
message shows.  Perhaps you could try updating traitlets to the latest 
version (5.2.0 on my system).  

This error would only matter if you want to use Jupyter notebooks.  
Otherwise Leo should work correctly, even though it is annoying to get the 
long error message every time you start up.

On Tuesday, May 17, 2022 at 6:50:25 AM UTC-4 robo...@gmail.com wrote:

> Hello!
> I've just installed Leo Editor on Debian 11 64bit,
> i think  that alll dependencies are respected but on
> launch i got this error on Log window (the same on terminal
> when launch Leo Editor from there)
> i don't understant what is wrong...
> (sorry for poor english...)
> Thank's for any answer.
>
> Leo Log Window
> Leo 6.6.2-devel, devel branch, build 960f01c311
> 2022-05-13 15:06:33 -0500
> Python 3.9.2, PyQt version 5.15.2
> linux
> can not import leo.plugins.importers.ipynb
> can not import leo.plugins.importers.ipynb
> setting leoID from os.getenv('USER'): 'kako'
>       home: /home/kako
> leo-editor: /home/kako/leo-editor
>       load: /home/kako/leo-editor/leo/core
>     config: /home/kako/leo-editor/leo/config
> reading settings in /home/kako/leo-editor/leo/config/leoSettings.leo
> reading settings in /home/kako/.leo/myLeoSettings.leo
> Traceback (most recent call last):
>   File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in 
> loadOnePluginHelper
>     __import__(moduleName)
>   File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in 
> <module>
>     import nbformat
>   File 
> "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line 
> 9, in <module>
>     from traitlets.log import get_logger
>   File 
> "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line 
> 5, in <module>
>     from ._version import __version__, version_info
>   File 
> "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line 
> 7, in <module>
>     assert __version__ == (
> AssertionError
> reading settings in /home/kako/.leo/myLeoSettings.leo
> Traceback (most recent call last):
>   File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in 
> loadOnePluginHelper
>     __import__(moduleName)
>   File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in 
> <module>
>     import nbformat
>   File 
> "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line 
> 9, in <module>
>     from traitlets.log import get_logger
>   File 
> "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line 
> 5, in <module>
>     from ._version import __version__, version_info
>   File 
> "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line 
> 7, in <module>
>     assert __version__ == (
> AssertionError
> read outline in 0.06 seconds

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f2f227c7-b516-43da-8342-7cabdb91950an%40googlegroups.com.

Reply via email to