-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
confusing of using --py for nbextention install
#1617
Comments
One way of resolving this is that we could test to see if a name is importable (even if |
hi, With aspect of an application, do you think it's good idea to install and enable extension in the fly rather than explicitly asking user to perform several steps after doing We've been trying to do that in our https://github.com/arose/nglview/blob/ipywidgets5/nglview/install.py The Jupyter ecosystem is growing quite fast so it's understandable that the installation and API are not stable. Just want to bring the issue here for discussion. Hai |
The problem is that users may have multiple extensions that do the same thing - a great example is theming the notebook. Users might have 10 themes installed but only one could be active at a time. |
The eventual solution will be that we offer a nice UI for enabling and managing extensions. That is something we plan of offering in JupyterLab. |
I see. thanks. |
I would really like to get that into the main notebook, and/or have it ported to JupyterLab. It is really hi quality work that would be extremely useful for users. |
Hi,
This is just a discussion. We have a Python package name
nglview
. After doing regularpython setup.py install
in the source folder, I try to enable the notebook extension.However, I forgot to add
--py
to my commandjupyter nbextension install nglview`
Above command will copy whole package to
nbextension
folder.I am aware of using correct command by adding
--py
to above command. But what confusing me is why using--py
? Why not naming another term? It's likely to me that adding--py
is to install Javascript extension, while not adding--py
will install whatever specify folder (including Python package).The text was updated successfully, but these errors were encountered: