mwouts / jupytext

Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
https://jupytext.readthedocs.io
MIT License
6.65k stars 386 forks source link

Jupytext not showing up in Jupyter lab #1064

Closed ivankeller closed 1 year ago

ivankeller commented 1 year ago

I'm unable to have Jupytext extension working on Jupyter lab or Jupyter notebook.
I'm running Jupyter lab inside a virtual env where I installed Jupyter lab with pip.

(.venv) bash-3.2$ jupyter labextension list
JupyterLab v3.6.3
/Users/me/Python/mydir/.venv/share/jupyter/labextensions
        jupyterlab-jupytext v1.3.8+dev enabled OK (python, jupytext)
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        @jupyter-widgets/jupyterlab-manager v5.0.7 enabled OK (python, jupyterlab_widgets)

(.venv) bash-3.2$

I updated node and rebuilt jupyter lab

(.venv) bash-3.2$ node --version
v18.16.0

I tried several ideas I found here and there, unsuccessfully.

On Binder https://hub.gke2.mybinder.org/user/mwouts-jupytext-uxd9zern/lab/tree/demo , following "Enabling Jupytext in a new notebook" I see the same issue. It says:

In the View menu, click on Activate Command Palette Then type Jupytext. You should see a number of commands come up. Each one tells Jupytext to save the notebook in a different file format automatically.

but there is no Jupytext commands coming up.

ivankeller commented 1 year ago

I don't know how it eventually appeared. Maybe because of a reboot...