Jupytext commands not showing up in Jupyterlab
See original GitHub issueI installed python 3.7.6, Jupyterlab 1.2.4, and Jupytext 1.3.2 through Conda, but when I restart Jupyterlab and search for Jupytext commands, none are showing up (see attached image). I also tried rebuilding Jupyterlab manually, but that didn’t help. I am reasonably sure that I’m using the same Conda environment I installed Jupytext to, to launch Jupyterlab.
Is there an incompatibility with the latest Jupyterlab, or is this an installation error on my part? Log given below:
> jupyter lab
[I 11:56:29.342 LabApp] JupyterLab extension loaded from /home/user/.local/lib/python3.7/site-packages/jupyterlab
[I 11:56:29.342 LabApp] JupyterLab application directory is /home/user/.local/share/jupyter/lab
[I 11:56:29.429 LabApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[W 11:56:29.432 LabApp] JupyterLab server extension not enabled, manually loading...
[I 11:56:29.434 LabApp] JupyterLab extension loaded from /home/user/.local/lib/python3.7/site-packages/jupyterlab
[I 11:56:29.434 LabApp] JupyterLab application directory is /home/user/.local/share/jupyter/lab
[I 11:56:29.436 LabApp] Serving notebooks from local directory: /home/user
[I 11:56:29.436 LabApp] The Jupyter Notebook is running at:
[I 11:56:29.436 LabApp] http://localhost:8888/?token=2ba776ad6225318b0537d4f1cca5fa19808b7afb419b29bb
[I 11:56:29.436 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 11:56:29.502 LabApp]
To access the notebook, open this file in a browser:
file:///run/user/1000/jupyter/nbserver-23010-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=2ba776ad6225318b0537d4f1cca5fa19808b7afb419b29bb
[I 11:56:32.836 LabApp] 301 GET /lab/workspaces/auto-U/?clone (127.0.0.1) 1.12ms
[I 11:56:37.383 LabApp] Build is up to date
If this isn’t the place to post such questions, sorry; I found no mention of other support channels in the Jupytext documention or website.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Installation - Jupytext documentation - Read the Docs
In JupyterLab, Jupytext adds a set of commands to the command palette (View / Activate Command Palette, or Ctrl+Shift+C):. The Jupytext extension for...
Read more >Jupytext with JupyterLab Desktop in conda environment
I'm new to JupyterLab and would like to set up Jupytext. ... That is for the classic notebook interface running in a browser....
Read more >jupytext: how to get rid of jupytext_version in the notebook ...
The metadata are really not needed and so I used e.g. for f in `find $conda_base_dir |grep jupytext|grep header.py` do echo $f sed...
Read more >JupyterLab - Quarto
Workflow. The ideal workflow for authoring Quarto notebooks in JupyterLab is to run the quarto preview command from within a terminal: Terminal.
Read more >19 Best JupyterLab Extensions for Machine Learning
JupyterLab debugger can also be helpful when you're working with VS code as you can ... This extension adds a few Jupytext commands...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello
Removing the file build_config.json cited in https://discourse.jupyter.org/t/extension-shows-up-as-both-installed-and-uninstalled-and-doesnt-work/2688/4 and https://github.com/jupyterlab/jupyterlab/issues/8122 solved the issue. I guess that is why the approach of @kaarelmand has worked.
Then I guess the issue appears when the extension is installed, removed, and reinstalled.
Hope it helps.
Sorry for the very late response. Thank you @mwouts and @mhmulati for helping me with this. Turns out that this wasn’t an issue on jupytext’s end, but on jupyter lab and its bug with
build_config.json
. Jupytext works great now!