Jupyter, cant delete cell with shortcut esc d d - jupyter-notebook

It worked, as expected, always, until it didn't. I have no idea what happened. Just all of a sudden, esc d d stopped working. I can, however, toggle a cell from code to markdown with shortcuts. I can also delete a cell via right click context menu. I've tried restarting my browser and clearing the cache. I've tried both notebook and lab.
Windows 10
Chrome browser
(tf2gpu) PS C:\Users\lab> jupyter --version
Selected Jupyter core packages...
IPython : 7.27.0
ipykernel : 6.4.1
ipywidgets : 7.6.5
jupyter_client : 7.0.3
jupyter_core : 4.8.1
jupyter_server : 1.11.0
jupyterlab : 3.1.13
nbclient : 0.5.4
nbconvert : 6.1.0
nbformat : 5.1.3
notebook : 6.4.4
qtconsole : 5.1.1
traitlets : 5.1.0
Thoughts?

Restarted the computer, now it works. Gotta love technology....

Related

Jupyterlab and Jupyter notebook don't recognize Google Drive folder

I reinstalled Anaconda because I couldn't update my Jupyterlab to the latest version, which was required to install some extensions. But after reinstallment, I still can not install extensions. In addition, Jupyter doest recognize my Google Drive folder (stream files, with some offline files, I used to work with them before reinstalling Anaconda).
I noted my problems in details:
I can not see my Google Drive folder from Jupyter's File Browser. I still see it from MacOS Files. I tried to copy my Google drive path /Volumes/GoogleDrive to open in Jupyter's File Browser, but it didn't work.
Anaconda is showing Jupyter lab 3.4.4 (see photo), but from the terminal, my version is 3.0.16. I can't install any extension as Jupyter said the minimum version was 3.5.
jupyter core : 4.7.1
jupyter-notebook : 6.4.0
qtconsole : not installed
ipython : 7.24.0
ipykernel : 5.5.5
jupyter client : 6.1.12
jupyter lab : 3.0.16
nbconvert : 6.0.7
ipywidgets : not installed
nbformat : 5.1.3
traitlets : 5.0.5
I am using MacBook pro rentina 2013 with macOS Big Sur.
Please give me some suggestions.
Many thanks in advance!
Andy

Jupyter Tags - remove-cell does nothing

In a Jupyter notebook I am trying to hide the code such that when I print to a pdf or some other format the code will not display.
To do this I have added the tags suggested here, as shown in the screenshot. I have also tried using hide-cell, hide-input, hide-output, etc.
Then when I print to PDF the code cell still shows.
I have also tried using both of these nbconvert commands:
[Stack Overflow Link] jupyter nbconvert --to pdf "notebook_name.ipynb"
[StackOverflow Link] jupyter nbconvert --to pdf "notebook_name.ipynb" --TagRemovePreProcessor.remove_cell_tags={"remove-cell"}
Nothing seems to work, the code continues to show every time I export or print.
The closest I have come is using the nbextension "Hide Input" but this does not persist on print or export.
Can someone please help me figure this out? Is this just not possible?
jupyter --version
Selected Jupyter core packages...
IPython : 8.4.0
ipykernel : 6.15.0
ipywidgets : 7.7.0
jupyter_client : 7.3.4
jupyter_core : 4.10.0
jupyter_server : not installed
jupyterlab : not installed
nbclient : 0.6.4
nbconvert : 6.5.0
nbformat : 5.4.0
notebook : 6.4.12
qtconsole : 5.3.1
traitlets : 5.3.0

How to add jupyterlab and notebook to Anaconda?

i have created a new environment and i installed the jupyterlab server and notebook . But i can't find the jupyterlab widget on the Anaconda navigator home , i mean i can start the jupyterlab server with the conda prompt , but sometimes i accidentally close it and all my work is gone.
Where i want to find the jupyterlab and notebook
in my base environment i can easily access to , because it has a shortcut on the menu home : here is an exemple :
my base environment
Did you maybe install the "wrong" version of Jupyterlab or Jupyter Notebook?
I did, and when I uninstalled that version, reinstalled a new version, the widget showed up.
I installed the version 3.4.2 of JupyterLab and the widget didn't show up.
Then I uninstalled it from conda prompt with conda uninstall jupyterlab, then reinstalled a stable version with conda install jupyterlab=3.3.2. Now the widget shows up.
Do you have checked https://www.geeksforgeeks.org/how-to-setup-conda-environment-with-jupyter-notebook/ or https://medium.com/#nrk25693/how-to-add-your-conda-environment-to-your-jupyter-notebook-in-just-4-steps-abeab8b8d084 ?
Otherwise, I can help in another way. You can also you deepnote for example. It is free, and you can save it using internet, and also share with your mates, friends... https://deepnote.com/

Jupyter notebook view missing in Spyder ide even after install

Help, I am trying to use jupyter notebook in spyder , I've already installed the jupyter plugin via conda install spyder-notebook -c spyder-ide upon installation I restarted jupyter but the notebook tab is missing under the view tab in spyder.
Message of installation of notebook:
Screenshot of my views and panel tabs in spyder:
Unfortunately,
The Spyder notebook plugin is not yet compatible with Spyder 5 [...]. The latest version of spyder-notebook is compatible with Spyder 4.2[...]
See here. So either you can revert to Spyder 4.2 or wait for a solution. The issue is tracked here.

Jupyter Lab Window Not Showing Properly

I just installed Jupyter Lab and tried it, however it doesn't showup properly. I tried reinstalling and installing but it show the same bug.
I am using dell xps 13, I tried installing it using:
'pip install jupyterlab', and
'conda install -c conda-forge jupyterlab'
Both gave same error. Is there a solution to this? The Jupyter Notebook is working just fine.
Jupyter Lab Error
I had a similar issue using the pip-installed jupyter lab (Using Win64 with Python 3.6 in a virtualenv). Finally, I managed to run it by uninstalling the pip installer version and using the conda installer version:
"pip uninstall jupyterlab"
"conda install jupyterlab"
I had the same issue with jupyterlab-3.4.5 on firefox 104.0.
When I refreshed the browser (Alt R) it fixed the display.

Resources