jupyterlab-desktop: Save and Export Notebook As... doesn't work!

Description

Currently, I’m using JupyterLab desktop Version 3.3.4-2. I can’t export my .ipynb file as .py using Save and Export Notebook As...! JupyterLab doesn’t display the inner panel to see the options of Save and Export Notebook As...!

Reproduce

  1. Open or create a new notebook
  2. try to export it as a .py file using File>Save and Export Notebook As…
  3. Click on Save and Export Notebook As…
  4. Nothing shows up!

image

Expected behavior

A panel that at least contains the .py format.

Context

  • Operating System and version: Windows 10.0.19043
  • JupyterLab-Desktop version: 3.3.4-2
  • Installer: .exe
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the terminal inside of JupyterLab-Desktop here.
You may want to sanitize the paths in the output.
Browser Output (required for interface issues after loading)
Paste the output from the DevTools JavaScript console here, if applicable.
Logs (required for issues with loading, server and startup)
Paste the logs from the `main.log` file here (optionally also from `renderer.log`).

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 31 (4 by maintainers)

Most upvoted comments

Just chipping in to say that I initially found this to be the case on python 3.12.1. I resolved by running

pip uninstall jupyter_contrib_nbextensions

Same issue as well

Based on This, I guess the source of the issue is my Python version, which is 3.10.1.

Same issue, jupyterlab 4.0.5

Edit: Solution is

pip install --upgrade 'nbconvert>=7' 'mistune>=2'

from https://github.com/jupyter/nbconvert/issues/1864#issuecomment-1259552781

I was pretty sure this was working last time I used this environment.

So I created a new one by updating nbconvert and I now get the dialog :

(experiments5) C:\Users\alvarobarbeira>python --version
Python 3.9.11

(experiments5) C:\Users\alvarobarbeira>conda list nbconvert
# packages in environment at C:\Users\alvarobarbeira\miniconda3\envs\experiments5:
#
# Name                    Version                   Build  Channel
nbconvert                 6.4.4            py39haa95532_0    anaconda

Same problem 😦 nbconvert is installed.

Same here

I am no expert, but next worked for me:

1º create new virtual env with py3.10

2º Activate that env and install next (just versions of another env where it installed classical jupyter, no jupyter lab): pip3 install notebook==6.4.12 pip3 install notebook-shim==0.1.0 pip3 install jupyter==1.0.0 pip3 install jupyter-ascending==0.1.23 pip3 install jupyter-console==6.4.4 pip3 install jupyter-contrib-core==0.4.0 pip3 install jupyter-contrib-nbextensions==0.5.1 pip3 install jupyter-core==4.11.1 pip3 install jupyter-highlight-selected-word==0.2.0 pip3 install jupyter-latex-envs==1.4.6 pip3 install jupyter-nbextensions-configurator==0.5.0 pip3 install jupyter-server==1.19.1 pip3 install jupyter_client==7.3.5 pip3 install jupyter_packaging==0.12.3 pip3 install jupyterlab==3.4.7 pip3 install jupyterlab-pygments==0.2.2 pip3 install jupyterlab-widgets==1.1.1 pip3 install jupyterlab_server==2.15.2 pip3 install jupytext==1.14.1

3º solve conflict https://github.com/microsoft/azuredatastudio/issues/24436 pip uninstall traitlets pip install traitlets==5.9.0

4º Done, Run classical: $ jupyter notebook