notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Cell numbering is broken for notebook/lab 7 (Anaconda)

Open dbpengra opened this issue 1 year ago • 1 comments
trafficstars

Description

After 3 fresh installs of Anaconda (2 on Windows 11, 1 on Rocky Linux 9), followed by conda update --all, Jupyter Notebook 7.2.1 or JupyterLab 4.2.3 shows incorrect cell numbering as the cells are executed. In the example shown, the numbers skip values:

jupyter_notebook_Local_install

This behavior is not seen when running JupyterLab from the server provided by University of Washington IT (where I work), nor on the Jupyter "Lite" version available at Jupyter.org:

jupyter_lite_rendering

If I install the nbclassic version of the notebook, the numbering problem does not appear. I have not tried to install the package outside of Anaconda, and it may be an Anaconda bug.

Context

  • Operating System and version: Rocky Linux 9.4 or Windows 11, 23H2
  • Browser and version: Firefox 115.12.0esr or Google Chrome 126.0.6478.127
  • Jupyter Notebook version: Linux = 7.0.8, Windows = 7.2.1
Troubleshoot Output Since you asked for it, from the Linux version...
[dbpengra@localhost ~]$ jupyter troubleshoot
$PATH:
	/home/dbpengra/anaconda3/bin
	/home/dbpengra/anaconda3/condabin
	/home/dbpengra/.local/bin
	/home/dbpengra/bin
	/usr/local/bin
	/usr/local/sbin
	/usr/bin
	/usr/sbin
	~/bin
	~/bin

sys.path: /home/dbpengra/anaconda3/bin /home/dbpengra/anaconda3/lib/python311.zip /home/dbpengra/anaconda3/lib/python3.11 /home/dbpengra/anaconda3/lib/python3.11/lib-dynload /home/dbpengra/anaconda3/lib/python3.11/site-packages

sys.executable: /home/dbpengra/anaconda3/bin/python

sys.version: 3.11.7 (main, Dec 15 2023, 18:12:31) [GCC 11.2.0]

platform.platform(): Linux-5.14.0-427.20.1.el9_4.x86_64-x86_64-with-glibc2.34

which -a jupyter: /home/dbpengra/anaconda3/bin/jupyter

Then, a long listing of current packages, which I had to remove...

dbpengra avatar Jun 27 '24 20:06 dbpengra