#1099099 python3-jupytext: jupyterlab_jupytext extension missing?

#1099099#5
Date:
2025-02-28 10:49:43 UTC
From:
To:
Hi!

Thanks a lot for maintaining this package.
I've just installed this package and when I run `jupyter lab`, I get the
following warning:


$ jupyter lab
Fail to get yarn configuration. Expecting value: line 1 column 1 (char 0)
[W 2025-02-28 11:37:57.924 ServerApp] jupyterlab_jupytext | error adding extension (enabled: True): The module 'jupyterlab_jupytext' could not be found (No module named 'jupyterlab_jupytext'). Are you sure the extension is installed?
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/jupyter_server/extension/manager.py", line 323, in add_extension
        extpkg = ExtensionPackage(name=extension_name, enabled=enabled)
      File "/usr/lib/python3/dist-packages/jupyter_server/extension/manager.py", line 187, in __init__
        self._load_metadata()
        ~~~~~~~~~~~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/jupyter_server/extension/manager.py", line 202, in _load_metadata
        raise ExtensionModuleNotFound(msg) from None
    jupyter_server.extension.utils.ExtensionModuleNotFound: The module 'jupyterlab_jupytext' could not be found (No module named 'jupyterlab_jupytext'). Are you sure the extension is installed?


The website of jupytext advertises a jupytext menu to pair notebooks,
etc. But it does not show, maybe because of that missing piece of code?
It seems to be included in the version 1.16.7 (whereas it was before an
independent npm module
https://www.npmjs.com/package/jupyterlab-jupytext).


Thanks in advance.
Cédric