Package Details: python-nbdime 2.1.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-nbdime
Description: Diff and merge of Jupyter Notebooks
Upstream URL:
Keywords: diff git jupyter notebook
Licenses: BSD
Submitter: Perfi
Maintainer: j605
Last Packager: j605
Votes: 5
Popularity: 0.019208
First Submitted: 2017-03-19 18:52
Last Updated: 2020-12-25 17:46

Latest Comments

j605 commented on 2020-04-13 20:37

@mdeff mentions that it can be installed with nbdime extensions --enable [--sys-prefix/--user/--system]. I can't figure out a way to get it installed with the PKGBUILD as a sdist doesn't build the JS files. It is present in the jupyter-config folder but manually copying it wouldn't be useful to folks who don't have jupyterlab installed. Can you try this, it works for me.

For the labextension, the console helpfully prints,

To initialize this nbextension in the browser every time the notebook (or other app) loads:

          jupyter nbextension enable nbdime --user --py

mdeff commented on 2020-04-06 22:30

The package is missing the following files, installed by pip install nbdime and necessary for jupyter extensions:

/etc/jupyter/jupyter_notebook_config.d/nbdime.json  # enable serverextension
/etc/jupyter/nbconfig/notebook.d/nbdime.json  # enable nbextension
/share/jupyter/nbextensions/nbdime/index.js  # nbextension code
/share/jupyter/lab/extensions/nbdime-jupyterlab-2.0.0.tgz  # labextension code

lobachevsky commented on 2017-11-08 15:23

The proper dependency for this package is rather

depends = depends=('python' 'python-six' 'python-gitpython' 'python-tornado' 'jupyter-nbformat' 'python-colorama')
makedepends=('python-setuptools' 'npm')

ganileni commented on 2017-11-01 12:08

if you install it with eg

$pacaur -S python-nbdime

and then run it, it will throw an error:

pkg_resources.DistributionNotFound: The 'GitPython' distribution was not found and is required by nbdime

this is because it depends on other python modules that are luckily for us on the AUR. The packages are:

python-gitpython python-tornado jupyter-nbformat

so if you add the dependencies to the PKGBUILD it should solve the problem.