there is noly three checkbox in jupyter notebook nbextentions - jupyter-notebook

I am insatlling jupyter notebook nbextensions on my window serer which can not connect to Internet,the version of NBextensions is 0.5.1 .
However ,I got only three checkbox on the tab of NBextensions, and I can't find Hintreland checkbox, what should I do now?
enter image description here

jupyter contrib nbextension install --user
I have got the anser

Related

modifying main menu of jupyter lab

I'm trying to modify the main menu of jupyter lab through jupyterlab extension. What I want to do is to remove or collapse all tabs into one. As I didn't find any explanation on that I tried to follow a tutorial to work with menu tabs: https://github.com/jupyterlab/extension-examples/tree/master/main-menu
However, I'm not being able to reproduce it. I run these commands on the terminal (inside the main-menu folder):
python -m pip install -e .
# install your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# build the TypeScript source after making changes
jlpm run build
# start JupyterLab
jupyter lab
But the "Main Menu Example" tab never appears.
What could it be? some cache information that I need to clean?

How to have the autocomplete feature in jupyter notebook like we have in pycharm or visual code?

I just want that autocomplete feature like I have in VC studio and pycharm in jupyter notebook, is there any way folks? I saw in some youtube tutorials people completing the code using the tool, any idea about that?
There is a hinterland functionality that when enabled then auto-complete code works.
For you to access the functionality first install jupyter_contrib_nbextensions as follows:
Install the python package
pip install jupyter_contrib_nbextensions
Then install javascript and css files
jupyter contrib nbextension install --user
More information on how to install can be found here
Then re-start the jupyter notebook. Look for a tab named Nbextensions and click on it. Then look for Hinterland and make sure that it is checkd:
Refresh/Restart jupyter notebook for changes to take place.
You just have to click the "Tab"-Button after typing something (e.g. a Class name followed by a dot). Then you find suggestions that you can insert by using Tab or Enter.

pip install environment_kernels Not Working for Switching Conda Environment

Even after I install the kernal package by calling pip install environment_kernels in anaconda prompt, I'm still not able to change the environment in my Jupyter notebook.
This is how it looks like on the top right corner of a ipynb file when I click into
And here's what shows up when I click Kernel tab to try to switch to another environment.
And I'm honestly so confused why I don't even have a conda tab on the main page.
Can somebody help me out on this?
you could try to set the display-name, then you can see it in change kernal
python -m ipykernel install --user --name yourenvnamehere --display-name "the display name you want there"

How can I disable the autocomplete function in Jupyter notebook(Tab)

I typed "Summary" outside the cell and change the config of Jupyter notebook.
When I press Tab, the autocomplete menu pop out, but I only want 4 spaces when I press Tab. I Google this question and try something like:
%config IPCompleter.greedy=False
However, I still have the autocomplete menu when I press Tab. How can I disable it?
There is an extension called 'Hinterland' for jupyter, which automatically displays the drop down menu when typing or control when it should appears . There are also some other useful extensions.
In order to install extensions, you can follow the guide on this Github repository . To easily activate extensions, you may want to use the extensions configurator.
To install Hinterland run in a Conda terminal this:
conda install -c conda-forge jupyter_nbextensions_configurator
To enable it :
jupyter nbextension enable hinterland/hinterland

cancel jupyter notebook display chinese on tool toolbar

i never did anything but type the command conda update --all, when all finished, my jupyter notebook start to display Chinese on toolbar, but i hope it can still display English.
what can i do to restore this change, but keep the newest version of jupyter? my interface of jupyter notebook are look as the pic below(sorry that i can't post pic temporarily):

Resources