Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save and Export Notebook As... doesn't work! #465

Open
shayandavoodii opened this issue Jul 9, 2022 · 32 comments
Open

Save and Export Notebook As... doesn't work! #465

shayandavoodii opened this issue Jul 9, 2022 · 32 comments
Labels

Comments

@shayandavoodii
Copy link

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`).
@krassowski
Copy link
Member

In the conda environment that you chose ("Python3.10"), is there nbconvert installed? If not, could you try installing it? Could you provide a full conda list for that environment?

@shayandavoodii
Copy link
Author

Yes, I installed it a long time ago:
image

As you can see, the name of conda env matches the name of env in the JupyterLab (look te the picture I've provided in the Reproduce section).

conda list:

# Name                    Version                   Build  Channel
_py-xgboost-mutex         2.0                       cpu_0    conda-forge
about-time                3.1.1                    pypi_0    pypi
aiohttp                   3.8.1                    pypi_0    pypi
aiosignal                 1.2.0                    pypi_0    pypi
alive-progress            2.4.1                    pypi_0    pypi
altair                    4.2.0              pyhd8ed1ab_1    conda-forge
altgraph                  0.17.2                   pypi_0    pypi
anyio                     3.6.1           py310h5588dad_0    conda-forge
arch-py                   5.2.0           py310h2873277_2    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py310he2412df_2    conda-forge
asttokens                 2.0.5              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.2                    pypi_0    pypi
asyncio                   3.4.3                    pypi_0    pypi
atomicwrites              1.4.0                    pypi_0    pypi
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
auto-py-to-exe            2.15.0                   pypi_0    pypi
autograd                  1.4                pyhd8ed1ab_0    conda-forge
babel                     2.10.3             pyhd8ed1ab_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.10.0             pyh06a4308_0
bleach                    5.0.1              pyhd8ed1ab_0    conda-forge
bokeh                     2.4.3           py310h5588dad_0    conda-forge
bottle                    0.12.19                  pypi_0    pypi
bottle-websocket          0.2.9                    pypi_0    pypi
bottleneck                1.3.4           py310h2873277_1    conda-forge
brotli                    1.0.9                h8ffe710_7    conda-forge
brotli-bin                1.0.9                h8ffe710_7    conda-forge
brotlipy                  0.7.0           py310he2412df_1004    conda-forge
bs4                       0.0.1                    pypi_0    pypi
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2022.6.15            h5b45459_0    conda-forge
certifi                   2022.6.15       py310h5588dad_0    conda-forge
cffi                      1.15.1          py310hcbf9ad4_0    conda-forge
cftime                    1.6.1           py310h2873277_0    conda-forge
charset-normalizer        2.1.0              pyhd8ed1ab_0    conda-forge
click                     8.0.3                    pypi_0    pypi
cloudpickle               2.1.0              pyhd8ed1ab_0    conda-forge
cma                       2.7.0                      py_0    conda-forge
cmocean                   2.0                      pypi_0    pypi
colorama                  0.4.5              pyhd8ed1ab_0    conda-forge
cryptography              37.0.2          py310ha857299_0    conda-forge
curl                      7.83.1               h789b8ee_0    conda-forge
cvxopt                    1.3.0           py310h60867fd_1    conda-forge
cvxpy                     1.2.1                    pypi_0    pypi
cx_freeze                 6.10            py310he2412df_0    conda-forge
cx_logging                3.0             py310he2412df_4    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cython                    0.29.30         py310h8a704f9_0    conda-forge
cytoolz                   0.11.2          py310he2412df_2    conda-forge
dask                      2022.5.2           pyhd8ed1ab_0    conda-forge
dask-core                 2022.5.2           pyhd8ed1ab_0    conda-forge
datetime                  4.4                      pypi_0    pypi
debugpy                   1.6.0           py310h8a704f9_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
distributed               2022.5.2           pyhd8ed1ab_0    conda-forge
docopt                    0.6.2                    pypi_0    pypi
dsdp                      5.8               h6e01ec9_1203    conda-forge
ecos                      2.0.10                   pypi_0    pypi
eel                       0.12.4                   pypi_0    pypi
emoji                     1.6.3              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
et_xmlfile                1.0.1                   py_1001    conda-forge
executing                 0.8.3              pyhd8ed1ab_0    conda-forge
fftw                      3.3.10          nompi_h77347bd_102    conda-forge
finpy-tse                 1.0.0                    pypi_0    pypi
flit-core                 3.7.1              pyhd8ed1ab_0    conda-forge
fonttools                 4.33.3          py310he2412df_0    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
frozenlist                1.3.0                    pypi_0    pypi
fsspec                    2022.5.0           pyhd8ed1ab_0    conda-forge
future                    0.18.2          py310h5588dad_5    conda-forge
gekko                     1.0.4                    pypi_0    pypi
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
gevent                    21.12.0                  pypi_0    pypi
gevent-websocket          0.10.1                   pypi_0    pypi
glib                      2.70.2               h7755175_4    conda-forge
glib-tools                2.70.2               h7755175_4    conda-forge
glpk                      4.65              h8ffe710_1004    conda-forge
grapheme                  0.6.0                    pypi_0    pypi
greenlet                  1.1.2                    pypi_0    pypi
gsl                       2.7                  hdfb1a43_0    conda-forge
gst-plugins-base          1.20.3               he07aa86_0    conda-forge
gstreamer                 1.20.3               hdff456e_0    conda-forge
handcalcs                 1.6.0              pyhd8ed1ab_0    conda-forge
hdf4                      4.2.15               h0e5069d_3    conda-forge
hdf5                      1.12.1          nompi_h2a0e4a3_104    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
html5lib                  1.1                pyhd3eb1b0_0
icu                       70.1                 h0e60522_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.4          py310h5588dad_0    conda-forge
importlib_metadata        4.11.4               hd8ed1ab_0    conda-forge
importlib_resources       5.8.0              pyhd8ed1ab_0    conda-forge
iniconfig                 1.1.1                    pypi_0    pypi
innerscope                0.5.1              pyhd8ed1ab_0    conda-forge
intel-openmp              2022.1.0          h57928b3_3787    conda-forge
investpy                  1.0.8                    pypi_0    pypi
ipykernel                 6.15.0             pyh025b116_0    conda-forge
ipympl                    0.8.7              pyhd8ed1ab_0    conda-forge
ipynbname                 2021.3.2                 pypi_0    pypi
ipyparams                 0.2.1                    pypi_0    pypi
ipython                   8.2.0           py310haa95532_0
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.7.1              pyhd8ed1ab_0    conda-forge
jdatetime                 4.1.0              pyhd8ed1ab_0    conda-forge
jedi                      0.18.1          py310h5588dad_1    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
joblib                    1.1.0              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h8ffe710_2    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                4.6.1              pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0           py310haa95532_7
jupyter_client            7.3.4              pyhd8ed1ab_0    conda-forge
jupyter_console           6.4.4              pyhd8ed1ab_0    conda-forge
jupyter_contrib_core      0.3.3                      py_2    conda-forge
jupyter_contrib_nbextensions 0.5.1              pyhd8ed1ab_2    conda-forge
jupyter_core              4.10.0          py310h5588dad_0    conda-forge
jupyter_highlight_selected_word 0.2.0           py310h5588dad_1005    conda-forge
jupyter_latex_envs        1.4.6           pyhd8ed1ab_1002    conda-forge
jupyter_nbextensions_configurator 0.4.1              pyhd8ed1ab_2    conda-forge
jupyter_server            1.13.5             pyhd3eb1b0_0
jupyterlab                3.3.2              pyhd3eb1b0_0
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.14.0             pyhd8ed1ab_1    conda-forge
jupyterlab_widgets        1.1.1              pyhd8ed1ab_0    conda-forge
kiwisolver                1.4.3           py310h476a331_0    conda-forge
krb5                      1.19.3               h1176d77_0    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      3.0                  h0e60522_0    conda-forge
libblas                   3.9.0              15_win64_mkl    conda-forge
libbrotlicommon           1.0.9                h8ffe710_7    conda-forge
libbrotlidec              1.0.9                h8ffe710_7    conda-forge
libbrotlienc              1.0.9                h8ffe710_7    conda-forge
libcblas                  3.9.0              15_win64_mkl    conda-forge
libclang                  14.0.6          default_h77d9078_0    conda-forge
libclang13                14.0.6          default_h77d9078_0    conda-forge
libcurl                   7.83.1               h789b8ee_0    conda-forge
libdeflate                1.12                 h8ffe710_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libglib                   2.70.2               h3be07f2_4    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
liblapack                 3.9.0              15_win64_mkl    conda-forge
liblief                   0.11.5               h0e60522_1    conda-forge
libnetcdf                 4.8.1           nompi_h1cc8e9d_102    conda-forge
libogg                    1.3.4                h8ffe710_1    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libretranslatepy          2.1.1                    pypi_0    pypi
libsodium                 1.0.18               h8d14728_1    conda-forge
libssh2                   1.10.0               h680486a_2    conda-forge
libta-lib                 0.4.0                he774522_0    conda-forge
libtiff                   4.4.0                h2ed3b44_1    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libwebp                   1.2.2                h57928b3_0    conda-forge
libwebp-base              1.2.2                h8ffe710_1    conda-forge
libxcb                    1.13              hcd874cb_1004    conda-forge
libxgboost                1.5.1            cpu_h110a20b_2    conda-forge
libxml2                   2.9.14               hf5bbc77_2    conda-forge
libxslt                   1.1.35               h34f844d_0    conda-forge
libzip                    1.9.2                hfed4ece_0    conda-forge
libzlib                   1.2.12               h8ffe710_1    conda-forge
llvmlite                  0.38.1          py310h2c03ce5_0    conda-forge
locket                    1.0.0              pyhd8ed1ab_0    conda-forge
lxml                      4.7.1           py310h0e454a5_0    conda-forge
lz4                       4.0.0           py310h7b86b54_2    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
markupsafe                2.1.1           py310he2412df_1    conda-forge
matplotlib                3.5.1           py310h5588dad_0    conda-forge
matplotlib-base           3.5.1           py310hd77b12b_1
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py310he2412df_1005    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
more-itertools            8.12.0             pyhd3eb1b0_0    anaconda
mplfinance                0.12.8b9           pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.4           py310h476a331_0    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
multidict                 6.0.2                    pypi_0    pypi
multitasking              0.0.10                   pypi_0    pypi
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
nbclassic                 0.3.7              pyhd8ed1ab_0    conda-forge
nbclient                  0.5.13             pyhd8ed1ab_0    conda-forge
nbconvert                 6.1.0           py310haa95532_0
nbformat                  5.4.0              pyhd8ed1ab_0    conda-forge
nest-asyncio              1.5.5              pyhd8ed1ab_0    conda-forge
netcdf4                   1.5.8           nompi_py310h5489b47_101    conda-forge
notebook                  6.4.8           py310haa95532_0
notebook-shim             0.1.0              pyhd8ed1ab_0    conda-forge
numba                     0.55.1          py310h4ed8f06_0
numbagg                   0.2.1                    pypi_0    pypi
numpy                     1.23.1                   pypi_0    pypi
openjpeg                  2.4.0                hb211442_1    conda-forge
openpyxl                  3.0.9              pyhd3eb1b0_0
openssl                   1.1.1q               h8ffe710_0    conda-forge
osqp                      0.6.2.post5              pypi_0    pypi
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.3           py310hf5e1058_0    conda-forge
pandas-datareader         0.10.0             pyh6c4a22f_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pathlib2                  2.3.7.post1              pypi_0    pypi
patsy                     0.5.2              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pefile                    2021.9.3                 pypi_0    pypi
persiantools              3.0.0                    pypi_0    pypi
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.2.0           py310h767b3fd_0    conda-forge
pip                       21.2.4          py310haa95532_0
pipreqs                   0.4.11                   pypi_0    pypi
plotly                    4.14.3                   pypi_0    pypi
pluggy                    1.0.0                    pypi_0    pypi
prometheus_client         0.14.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.30             pyha770c72_0    conda-forge
prompt_toolkit            3.0.30               hd8ed1ab_0    conda-forge
property-cached           1.6.4                      py_0    conda-forge
psutil                    5.9.1           py310he2412df_0    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
py                        1.11.0                   pypi_0    pypi
py-lief                   0.11.5          py310h8a704f9_1    conda-forge
py-xgboost                1.5.1           cpu_py310h2690a58_2    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyenchant                 3.2.2                    pypi_0    pypi
pygments                  2.12.0             pyhd8ed1ab_0    conda-forge
pyinstaller               4.9                      pypi_0    pypi
pyinstaller-hooks-contrib 2022.0                   pypi_0    pypi
pymoo                     0.5.0           py310h2873277_1    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyportfolioopt            1.5.3                    pypi_0    pypi
pyqt                      5.15.4          py310hbabf5d4_1    conda-forge
pyqt5-sip                 12.9.0          py310h8a704f9_1    conda-forge
pyrsistent                0.18.1          py310he2412df_1    conda-forge
pysocks                   1.7.1           py310h5588dad_5    conda-forge
pytest                    7.1.2                    pypi_0    pypi
python                    3.10.1          h9a09f29_2_cpython    conda-forge
python-dateutil           2.8.2              pyhd3eb1b0_0
python-fastjsonschema     2.15.3             pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytz                      2021.3             pyhd3eb1b0_0
pytz-deprecation-shim     0.1.0.post0              pypi_0    pypi
pywin32                   303             py310he2412df_0    conda-forge
pywin32-ctypes            0.2.0                    pypi_0    pypi
pywinpty                  2.0.5           py310h00ffb61_1    conda-forge
pyyaml                    6.0             py310he2412df_4    conda-forge
pyzmq                     23.2.0          py310h73ada01_0    conda-forge
qdarkstyle                3.0.3              pyhd8ed1ab_0    conda-forge
qdldl                     0.1.5.post2              pypi_0    pypi
qt-main                   5.15.4               h467ea89_2    conda-forge
qtconsole                 5.3.1              pyhd8ed1ab_0    conda-forge
qtconsole-base            5.3.1              pyha770c72_0    conda-forge
qtpy                      2.1.0              pyhd8ed1ab_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_0    conda-forge
retrying                  1.3.3                    pypi_0    pypi
rpy2                      3.1.0                    pypi_0    pypi
scikit-learn              1.1.1           py310h4dafddf_0    conda-forge
scipy                     1.8.1           py310h33db832_0    conda-forge
scs                       3.2.0                    pypi_0    pypi
seaborn                   0.10.1                   pypi_0    pypi
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                63.1.0          py310h5588dad_0    conda-forge
shap                      0.40.0          py310hf5e1058_1    conda-forge
simplegeneric             0.8.1                    pypi_0    pypi
sip                       6.5.1           py310h8a704f9_2    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
slicer                    0.0.7              pyhd8ed1ab_0    conda-forge
sniffio                   1.2.0           py310h5588dad_3    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.1              pyhd8ed1ab_0    conda-forge
sqlite                    3.39.0               h8ffe710_0    conda-forge
stack_data                0.3.0              pyhd8ed1ab_0    conda-forge
statsmodels               0.13.2          py310h2bbff1b_0
sviewgui                  1.0                      pypi_0    pypi
ta-lib                    0.4.19          py310h2873277_3    conda-forge
tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
tbb                       2021.5.0             h2d74725_1    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
tenacity                  8.0.1              pyhd8ed1ab_0    conda-forge
terminado                 0.15.0          py310h5588dad_0    conda-forge
testpath                  0.6.0              pyhd8ed1ab_0    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1                    pypi_0    pypi
toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
tornado                   6.2             py310he2412df_0    conda-forge
tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
traitlets                 5.3.0              pyhd8ed1ab_0    conda-forge
translate                 3.6.1                    pypi_0    pypi
typing-extensions         3.10.0.2                 pypi_0    pypi
typing_extensions         4.3.0              pyha770c72_0    conda-forge
tzdata                    2022.1                   pypi_0    pypi
tzlocal                   4.2                      pypi_0    pypi
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
unicodedata2              14.0.0          py310he2412df_1    conda-forge
unidecode                 1.3.4                    pypi_0    pypi
unsync                    1.4.0                    pypi_0    pypi
urllib3                   1.26.9             pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_6    conda-forge
vega_datasets             0.9.0              pyhd3deb0d_0    conda-forge
vs2015_runtime            14.29.30037          h902a5da_6    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.3.3              pyhd8ed1ab_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
whichcraft                0.6.1                    pypi_0    pypi
widgetsnbextension        3.6.1              pyha770c72_0    conda-forge
win_inet_pton             1.1.0           py310h5588dad_4    conda-forge
winpty                    0.4.3                         4    conda-forge
xarray                    2022.3.0           pyhd8ed1ab_0    conda-forge
xlrd                      2.0.1              pyhd3eb1b0_0
xorg-libxau               1.0.9                hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                h8ffe710_2    conda-forge
yarg                      0.1.9                    pypi_0    pypi
yarl                      1.7.2                    pypi_0    pypi
yfinance                  0.1.72                   pypi_0    pypi
zeromq                    4.3.4                h0e60522_1    conda-forge
zict                      2.2.0              pyhd8ed1ab_0    conda-forge
zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               h8ffe710_1    conda-forge
zope-event                4.5.0                    pypi_0    pypi
zope-interface            5.4.0                    pypi_0    pypi
zstd                      1.5.2                h6255e5f_2    conda-forge

@shayandavoodii
Copy link
Author

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

@tttucker34
Copy link

I appear to be having the same issue. How do you get back to python 3.9?

@shayandavoodii
Copy link
Author

@tttucker34
How do you get back to python 3.9?

wdym on this? You can have several Python patches via environments.

@mbektas
Copy link
Member

mbektas commented Feb 15, 2023

@tttucker34 are you still having issues with this? if so, can you retry with the latest version (3.6.1-1)?

@Heroico
Copy link

Heroico commented Apr 12, 2023

Just as a data point, I have this on python 3.9.11 too:

(experiments4) C:\Users\alvarobarbeira>conda list nbconvert
# packages in environment at C:\Users\alvarobarbeira\miniconda3\envs\experiments4:
#
# Name                    Version                   Build  Channel
nbconvert                 5.5.0                      py_0    anaconda

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

@Heroico
Copy link

Heroico commented Apr 12, 2023

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

@mbektas
Copy link
Member

mbektas commented Jun 7, 2023

closing since no update for a long time from the original poster.

@mbektas mbektas closed this as completed Jun 7, 2023
@JWock82
Copy link

JWock82 commented Dec 2, 2023

I recommend reopening it. I'm having the same issue. I've done a pip install --update jupyterlab and it's still not working. I'm running Python 3.9.

@JulienL3vesque
Copy link

Having the same issue as well.

@joonro
Copy link

joonro commented Dec 5, 2023

I started having this issue recently as well

@sw1sw1
Copy link

sw1sw1 commented Dec 8, 2023

Also have this issue.

@krish-e
Copy link

krish-e commented Dec 13, 2023

Also have the same issue.

@juanMarinero
Copy link

juanMarinero commented Dec 14, 2023

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
microsoft/azuredatastudio#24436
pip uninstall traitlets
pip install traitlets==5.9.0

4º Done, Run classical: $ jupyter notebook

@JWock82
Copy link

JWock82 commented Dec 15, 2023

I solved my problem. I had created a custom notebook exporter template incorrectly. It was preventing any of the built-in notebook exporter templates from showing up. Once I corrected my exporter template, the others came back. Seems like this is an issue of poor error handling. It should be changed to ignore exporter templates with errors, without hiding the correctly built ones.

@urrx101
Copy link

urrx101 commented Jan 8, 2024

Same issue as well

1 similar comment
@1024Person
Copy link

Same issue as well

@mkerin
Copy link

mkerin commented Jan 24, 2024

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

@RoelantStegmann
Copy link

Same problem :( nbconvert is installed.

@s-hliao
Copy link

s-hliao commented Feb 2, 2024

+1

@mpsheasby
Copy link

I get this issue too

@joshdempster
Copy link

Same issue.

@upmanyu1993
Copy link

Same issue

@upmanyu1993
Copy link

Another option is to utilize Google Colab for the conversion process. By uploading your IPYNB file to Google Colab, you can leverage its computing resources to perform the conversion to your desired format. A detailed guide on how to convert IPYNB to HTML in Google Colab can be found in this Stack Overflow thread:
(https://stackoverflow.com/questions/53460051/convert-ipynb-notebook-to-html-in-google-colab)

@ccaprani
Copy link

ccaprani commented Feb 22, 2024

Same issue, jupyterlab 4.0.5

Edit:
Solution is

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

from jupyter/nbconvert#1864 (comment)

@mbektas mbektas reopened this Feb 24, 2024
@mbektas
Copy link
Member

mbektas commented Feb 24, 2024

couple of notes here:

  1. make sure you have a notebook open and activated as the current tab when you open the export menu.
  2. are you having the issue in the bundled Python environment or a custom environment?
  3. can you try with the JupyterLab web app, are you able to reproduce? You can launch a terminal in the environment and run jupyter lab to launch the web app.

@MontyTHall
Copy link

I'm in the same boat. running in venv, python 3.10 ubuntu 22. juypyterlab v4.1. installed via pip. Looks like this problem has been open for quite some time. Guess I'm going to use nbconvert.
EDIT: dropped back to 3.6 and things seem to work.

Package                           Version
--------------------------------- -------------------
absl-py                           1.4.0
anyio                             4.0.0
argon2-cffi                       23.1.0
argon2-cffi-bindings              21.2.0
array-record                      0.5.0
arrow                             1.3.0
asttokens                         2.4.1
astunparse                        1.6.3
async-lru                         2.0.4
attrs                             23.1.0
Babel                             2.13.1
backcall                          0.2.0
beautifulsoup4                    4.12.2
black                             24.2.0
bleach                            6.1.0
cachetools                        5.3.2
certifi                           2023.7.22
cffi                              1.16.0
charset-normalizer                3.3.1
click                             8.1.7
comm                              0.1.4
contourpy                         1.1.1
cycler                            0.12.1
debugpy                           1.8.0
decorator                         5.1.1
defusedxml                        0.7.1
dm-tree                           0.1.8
etils                             1.6.0
exceptiongroup                    1.1.3
executing                         2.0.0
fastjsonschema                    2.18.1
filelock                          3.9.0
flatbuffers                       23.5.26
fonttools                         4.43.1
fqdn                              1.5.1
fsspec                            2023.4.0
gast                              0.5.4
google-auth                       2.25.1
google-auth-oauthlib              1.2.0
google-pasta                      0.2.0
googleapis-common-protos          1.62.0
graphviz                          0.20.1
grpcio                            1.60.0
h11                               0.14.0
h5py                              3.10.0
httpcore                          1.0.4
httpx                             0.27.0
idna                              3.4
imageio                           2.33.1
importlib-resources               6.1.1
ipykernel                         6.26.0
ipython                           8.16.1
ipython-genutils                  0.2.0
isoduration                       20.11.0
isort                             5.13.2
jedi                              0.19.1
Jinja2                            3.1.2
joblib                            1.3.2
json5                             0.9.14
jsonpointer                       2.4
jsonschema                        4.19.1
jsonschema-specifications         2023.7.1
jupyter_client                    8.5.0
jupyter-contrib-core              0.4.2
jupyter-contrib-nbextensions      0.7.0
jupyter_core                      5.4.0
jupyter-events                    0.8.0
jupyter-highlight-selected-word   0.2.0
jupyter-lsp                       2.2.0
jupyter-nbextensions-configurator 0.6.3
jupyter_server                    2.9.1
jupyter_server_terminals          0.4.4
jupyterlab                        4.1.2
jupyterlab_code_formatter         2.2.1
jupyterlab-pygments               0.2.2
jupyterlab_server                 2.25.0
keras                             3.0.5
Keras-Preprocessing               1.1.2
kiwisolver                        1.4.5
libclang                          16.0.6
lxml                              4.9.4
Markdown                          3.5.1
markdown-it-py                    3.0.0
MarkupSafe                        2.1.3
matplotlib                        3.8.0
matplotlib-inline                 0.1.6
mdurl                             0.1.2
mistune                           3.0.2
ml-dtypes                         0.2.0
mpmath                            1.3.0
mypy-extensions                   1.0.0
namex                             0.0.7
nbclient                          0.8.0
nbconvert                         7.16.1
nbformat                          5.9.2
nest-asyncio                      1.5.8
networkx                          3.0
notebook                          7.0.6
notebook_shim                     0.2.3
numpy                             1.26.1
oauthlib                          3.2.2
opt-einsum                        3.3.0
overrides                         7.4.0
packaging                         23.2
pandas                            2.1.2
pandocfilters                     1.5.0
parso                             0.8.3
pathspec                          0.12.1
pexpect                           4.8.0
pickleshare                       0.7.5
Pillow                            10.1.0
pip                               24.0
platformdirs                      3.11.0
prometheus-client                 0.17.1
promise                           2.3
prompt-toolkit                    3.0.39
protobuf                          3.20.3
psutil                            5.9.6
ptyprocess                        0.7.0
pure-eval                         0.2.2
pyasn1                            0.5.1
pyasn1-modules                    0.3.0
pycparser                         2.21
pydot                             2.0.0
Pygments                          2.16.1
pyparsing                         3.1.1
python-dateutil                   2.8.2
python-json-logger                2.0.7
python-version                    0.0.2
pytz                              2023.3.post1
PyYAML                            6.0.1
pyzmq                             25.1.1
referencing                       0.30.2
requests                          2.31.0
requests-oauthlib                 1.3.1
rfc3339-validator                 0.1.4
rfc3986-validator                 0.1.1
rich                              13.7.1
rpds-py                           0.10.6
rsa                               4.9
scikit-learn                      1.3.2
scipy                             1.11.3
seaborn                           0.13.0
Send2Trash                        1.8.2
setuptools                        59.6.0
six                               1.16.0
sklearn                           0.0.post10
sniffio                           1.3.0
soupsieve                         2.5
stack-data                        0.6.3
sympy                             1.12
tensorboard                       2.15.2
tensorboard-data-server           0.7.2
tensorboard-plugin-wit            1.8.1
tensorflow                        2.15.0.post1
tensorflow-datasets               4.9.4
tensorflow-estimator              2.15.0
tensorflow-hub                    0.16.1
tensorflow-io-gcs-filesystem      0.34.0
tensorflow-metadata               1.14.0
termcolor                         2.4.0
terminado                         0.17.1
tf-estimator-nightly              2.8.0.dev2021122109
tf-keras                          2.15.0
threadpoolctl                     3.2.0
tinycss2                          1.2.1
toml                              0.10.2
tomli                             2.0.1
torch                             2.1.0+cu118
torchaudio                        2.1.0+cu118
torchvision                       0.16.0+cu118
tornado                           6.3.3
tqdm                              4.66.1
traitlets                         5.12.0
triton                            2.1.0
types-python-dateutil             2.8.19.14
typing_extensions                 4.8.0
tzdata                            2023.3
uri-template                      1.3.0
urllib3                           2.0.7
wcwidth                           0.2.8
webcolors                         1.13
webencodings                      0.5.1
websocket-client                  1.6.4
Werkzeug                          3.0.1
wheel                             0.42.0
wrapt                             1.14.1
xgboost                           2.0.1
zipp                              3.17.0

@TonyRose27
Copy link

in my case the following packages where creating the issue. Now working with:
notebook 6.4.12
traitlets 5.9.0

@iliaChinchaladze
Copy link

iliaChinchaladze commented Mar 26, 2024

having the same issue here, this is my pip3 list:


- Package                   Version
- ------------------------- --------------
- anyio                     4.3.0
- appnope                   0.1.4
- argon2-cffi               23.1.0
- argon2-cffi-bindings      21.2.0
- arrow                     1.3.0
- asttokens                 2.4.1
- async-lru                 2.0.4
- attrs                     23.2.0
- Babel                     2.14.0
- beautifulsoup4            4.12.3
- bleach                    6.1.0
- certifi                   2024.2.2
- cffi                      1.16.0
- charset-normalizer        3.3.2
- comm                      0.2.2
- debugpy                   1.8.1
- decorator                 5.1.1
- defusedxml                0.7.1
- executing                 2.0.1
- fastjsonschema            2.19.1
- fqdn                      1.5.1
- h11                       0.14.0
- httpcore                  1.0.4
- httpx                     0.27.0
- idna                      3.6
- ipykernel                 6.29.3
- ipython                   8.22.2
- isoduration               20.11.0
- jedi                      0.19.1
- Jinja2                    3.1.3
- json5                     0.9.24
- jsonpointer               2.4
- jsonschema                4.21.1
- jsonschema-specifications 2023.12.1
- jupyter_client            8.6.1
- jupyter_core              5.7.2
- jupyter-events            0.10.0
- jupyter-lsp               2.2.4
- jupyter_server            2.13.0
- jupyter_server_terminals  0.5.3
- jupyterlab                4.1.5
- jupyterlab_pygments       0.3.0
- jupyterlab_server         2.25.4
- MarkupSafe                2.1.5
- matplotlib-inline         0.1.6
- mistune                   3.0.2
- nb2xls                    0.1.6
- nbclient                  0.10.0
- nbconvert                 7.16.3
- nbformat                  5.10.3
- nest-asyncio              1.6.0
- notebook_shim             0.2.4
- numpy                     1.26.4
- overrides                 7.7.0
- packaging                 24.0
- pandas                    2.2.1
- pandocfilters             1.5.1
- parso                     0.8.3
- pexpect                   4.9.0
- pip                       24.0
- platformdirs              4.2.0
- prometheus_client         0.20.0
- prompt-toolkit            3.0.43
- psutil                    5.9.8
- ptyprocess                0.7.0
- pure-eval                 0.2.2
- pycparser                 2.21
- Pygments                  2.17.2
- pypng                     0.20220715.0
- python-dateutil           2.9.0.post0
- python-json-logger        2.0.7
- pytz                      2024.1
- PyYAML                    6.0.1
- pyzmq                     25.1.2
- referencing               0.34.0
- requests                  2.31.0
- rfc3339-validator         0.1.4
- rfc3986-validator         0.1.1
- rpds-py                   0.18.0
- Send2Trash                1.8.2
- six                       1.16.0
- sniffio                   1.3.1
- soupsieve                 2.5
- stack-data                0.6.3
- terminado                 0.18.1
- tinycss2                  1.2.1
- tornado                   6.4
- traitlets                 5.14.2
- types-python-dateutil     2.9.0.20240316
- tzdata                    2024.1
- uri-template              1.3.0
- urllib3                   2.2.1
- wcwidth                   0.2.13
- webcolors                 1.13
- webencodings              0.5.1
- websocket-client          1.7.0
- XlsxWriter                3.2.0

@TomokiSegawa
Copy link

I had the same issue, and solved by

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

thank you all for the trial...!

@lokashrinav
Copy link

I have the same issue, but this isn't working for me: pip install --upgrade 'nbconvert>=7' 'mistune>=2'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests