question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jupytext commands not showing up in Jupyterlab

See original GitHub issue

I 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. screenie

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:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
mhmulaticommented, Oct 3, 2020

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.

1reaction
richardso21commented, Oct 23, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found