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.

Google AI Notebook Jupyterlab won't build with jupytext installed

See original GitHub issue

This is actually more of a support request than bug report.

When I install jupytext via the extension manager in a google ai notebook I get a popup saying that I need to run build. I click on the UI link. Then I get a message that the build failed.

Is this a known problem? Any suggestions?

Screenshot_2020-12-08 JupyterLab

Actually, when build at the terminal it seems to work:

(base) jupyter@balter-ai-clinvar:~/clinvar-ab$ jupyter lab build
[LabBuildApp] WARNING | Config option `kernel_spec_manager_class` not recognized by `LabBuildApp`.
[LabBuildApp] JupyterLab 1.2.16
[LabBuildApp] Building in /opt/conda/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:prod:minimize)

But still no jupytext manu.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
abaltercommented, Dec 11, 2020

I created another fresh install and it worked! I might write up my steps and put it in a blog post or something. I did need to do things in a very particular order:

  1. Create the AI Notebook
  2. conda install jupytext -y
  3. conda update --all -y
  4. jupyter labextension install jupyterlab-jupytext@1.1.1
  5. jupyter lab build
  6. Restart the AI Notebook

I was worried that if I ran conda update --all again it would move jupytext back up to the latest and require downgrading to 1.1.1 again. I tried it and this did not happen. But I’ll report back if I do run into any problems.

Thanks for your help @mwouts!

0reactions
mwoutscommented, Dec 11, 2020

Excellent! Thanks for letting us know. Yes you’re right, it is better to explicitely run jupyter lab build. Looking forward to reading your post 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - Jupytext documentation - Read the Docs
If you want to use Jupytext within Jupyter Notebook or JupyterLab, make sure you install Jupytext in the Python environment where the Jupyter...
Read more >
Not able to install Jupyterlab extensions on GCP AI Platform ...
I am not able to build after installing new extensions for Jupyterlab. I am running Jupyterlab with GCP AI Platform Notebooks. I am...
Read more >
Creating an open-source book with Jupyter Book and Jupytext
Your browser can't play this video. ... https://giswqs.github.io/jb-demo/ Commands: jupyter-book build . jupyter-book build .
Read more >
Git Version Control with Jupyter Notebooks | by Faizan Ahemad
Install and setup Jupytext. You need to perform this on all systems who will use the git repo with notebooks. That means all...
Read more >
Jupyter Documentation - Read the Docs
Try the Classic Notebook interface. – Try the JupyterLab interface. • Next step: install Jupyter locally. These sections describe a few ways ...
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