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.

"pip install jupytext" should install the contents manager and the extensions

See original GitHub issue

Some python packages like nbdime, plotly or voila automatically deploy a jupyter configuration that activates the corresponding notebook extensions.

I’d like to do the same with Jupytext and

  • its contents manager
  • its jupyter notebook extension
  • and the jupyterlab extension

I’ve started working on this on Feb 12 in branch 1.0.0. But this is not working yet.

If I run, in a conda env,

pip install jupytext==1.0.0rc4

then pip uninstall jupytext says

Uninstalling jupytext-1.0.0rc4:
  Would remove:
    c:\users\marc\anaconda3\envs\jupyterlab\etc\jupyter\jupyter_notebook_config.d\jupytext.json
    c:\users\marc\anaconda3\envs\jupyterlab\etc\jupyter\nbconfig\notebook.d\jupytext.json
    c:\users\marc\anaconda3\envs\jupyterlab\lib\site-packages\jupytext-1.0.0rc7.dist-info\*
    c:\users\marc\anaconda3\envs\jupyterlab\lib\site-packages\jupytext\*
    c:\users\marc\anaconda3\envs\jupyterlab\lib\site-packages\tests\*
    c:\users\marc\anaconda3\envs\jupyterlab\scripts\jupytext.exe
    c:\users\marc\anaconda3\envs\jupyterlab\share\jupyter\lab\extensions\jupyterlab-jupytext-0.1.0.tgz
    c:\users\marc\anaconda3\envs\jupyterlab\share\jupyter\nbextensions\jupytext\index.js

which seems to indicate that all three elements have been installed. But none of them is active in Jupyter - they only work when I manually install each of them, as documented in the README on branch 1.0.0.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:16 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
phaustincommented, Feb 15, 2019

I’d be in favor of subfolder creation, perhaps with an information alert. I find that I forget folder creation about 50% of the time in new directories. Since jupyter is already silently creating .ipynb_checkpoints, and the user has installed jupytext, I don’t think being proactive is a problem.

0reactions
mwoutscommented, Feb 28, 2019

No problem, anyway it was interesting to double check how this work! And thanks for taking the time to give more pointers here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"pip install --user jupytext" should install the contents manager ...
This is pretty close to #176, but "pip install --user jupytext" should install the contents manager and the extensions as well.
Read more >
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 >
jupytext - PyPI
You can install Jupytext with. pip install jupytext; or conda install jupytext -c conda-forge . Please note that Jupytext includes an extension for...
Read more >
jupytext - WorldLink资源网
/path_to_your_jupyter_environment/python -m pip install jupytext --upgrade ... Jupytext provides a contents manager for Jupyter that allows Jupyter to open ...
Read more >
Using Jupyter Notebook extensions - Anaconda Documentation
With Anaconda you can download and install 4 extensions for the Jupyter Notebook which make the notebook easier to use: RISE; Notebook anaconda.org ......
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