Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation #14

Open
FlorinAndrei opened this issue Jan 14, 2020 · 5 comments
Open

installation #14

FlorinAndrei opened this issue Jan 14, 2020 · 5 comments

Comments

@FlorinAndrei
Copy link

What do you mean by this?

If you use jupyter-contrib-nbextensions, proceed as usual.

Could you spell out those steps, please?

@Greedquest
Copy link

Greedquest commented Oct 28, 2020

I believe just

jupyter nbextension install https://github.com/drillan/jupyter-black/archive/master.zip --sys-prefix

from the anaconda prompt, in the environment you want to install (for me (base))

From the docs

  • --user to install into the user's home jupyter directories
  • --system to perform installation into system-wide jupyter directories
  • --sys-prefix to install into python's sys.prefix, useful for instance in virtual environments, such as with conda
  • --symlink to symlink the nbextensions rather than copying each file (recommended, on non-Windows platforms).
  • --debug, for more-verbose output

@Greedquest
Copy link

Enable on the command line (anaconda prompt) or with the Jupyter Tab

image

@sobayed
Copy link

sobayed commented Dec 7, 2020

When I try this I get:

jupyter contrib nbextension install https://github.com/drillan/jupyter-black/archive/master.zip --sys-prefix
>>> jupyter contrib nbextension install takes no extra arguments

UPDATE: The correct command is jupyter nbextension install https://github.com/drillan/jupyter-black/archive/master.zip --sys-prefix (without the contrib)

@Greedquest
Copy link

@sobayed thanks, updated!

@rupeshknn
Copy link

rupeshknn commented Sep 21, 2022

This should be added to the README file @drillan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants