Hi,
I would appreciate some assistance fixing Jupyter Lab which is no longer functional
I recently ran an upgrade to the latest version of Jupyter. I have done many clean downs and reinstalls. It was after this install that things started to go sideways.
I currently have the core package versions:
Selected Jupyter core packages…
IPython : 9.4.0
ipykernel : 6.30.1
ipywidgets : 7.8.1
jupyter_client : 8.6.3
jupyter_core : 5.8.1
jupyter_server : 2.16.0
jupyterlab : 4.2.7
nbclient : 0.10.2
nbconvert : 7.16.6
nbformat : 5.10.4
notebook : 7.2.2
qtconsole : 5.5.1
traitlets : 5.14.3
I get the following errors at my Mac terminal prompt
[W 2025-08-19 16:15:26.818 ServerApp] AsyncIOLoopKernelRestarter: restart failed
[W 2025-08-19 16:15:26.818 ServerApp] Kernel 183a3c1b-6d56-4a42-afcc-306d7712e7de died, removing from map.
[E 2025-08-19 16:15:26.818 ServerApp] kernel 183a3c1b-6d56-4a42-afcc-306d7712e7de restarted failed!
I have reconciled as many of the following dependency errors that were raised by the install of jupyterlab 4.4.6. The following is what is left
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ipywidgets 7.8.1 requires jupyterlab-widgets<3,>=1.0.0; python_version >= “3.6”, which is not installed.
notebook 7.2.2 requires jupyterlab<4.3,>=4.2.0, but you have jupyterlab 4.4.6 which is incompatible.
spyder-kernels 2.5.0 requires ipython!=8.17.1,<9,>=8.13.0; python_version > “3.8”, but you have ipython 9.4.0 which is incompatible.
scikit-image 0.24.0 requires networkx>=2.8, but you have networkx 1.11 which is incompatible.
spyder 5.5.1 requires ipython!=8.17.1,<9.0.0,>=8.13.0; python_version > “3.8”, but you have ipython 9.4.0 which is incompatible.
The only other things that I have changed are to add
TensorFlow version 2.20.0
BoTorch version 0.15.1
Everything was working fine after installing BoTorch and I had my core code working. I then found I needed to add TensorFlow to get the round function for the tensors. I mistakenly then did the recommended upgrade to Jupyter at the same time.
I have a MacBook Air with M1 chip OS: 15.6 (24G84)
My python version is 3.12.7. This makes the dependency error above “python_version >= “3.6”, which is not installed.“ confusing. I’ve performed an uninstall and reinstall.
At the moment my environment is non-functional.
Any help will be welcome
Many thanks in advance
Jon