Notebook: PDF download: nbconvert failed: '/path/to/benchmarks.ipynb' exists but is not a directory

Created on 27 Oct 2017  路  8Comments  路  Source: jupyter/notebook

When clicking Download As > PDF, I'm getting the following 500 error:

nbconvert failed: '/path/to/benchmarks.ipynb' exists but is not a directory

Most helpful comment

jupyter notebook --version
# to upgrade to notebook 5.2.1rc1
pip install notebook --upgrade --pre

All 8 comments

This was just fixed by https://github.com/jupyter/notebook/pull/2981 which will be included in a 5.2.1 release today.

Do you know how to check the version of jupyter notebook and how to upgrade it?

jupyter notebook --version
# to upgrade to notebook 5.2.1rc1
pip install notebook --upgrade --pre

So 5.2.1 is not a official release for now?
Whenever I try
pip install notebook --upgrade && jupyter notebook --version
The version turns out to be still 5.2.0, which does not fix the nbconvert issue

Yup, rc1 means it's a pre-release, so you need the --pre flag to get it. I think @gnestor is planning to release 5.2.1 very soon.

thanks

Until https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile gets rebuilt this Dockerfile will run the update:

FROM jupyter/scipy-notebook
RUN conda update --yes notebook

From the same directory:

$ docker build -t updated_scipy_nb .

Thanks @joshuacook!! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uolter picture uolter  路  3Comments

qnicole-zakka picture qnicole-zakka  路  3Comments

fonnesbeck picture fonnesbeck  路  3Comments

jonatanblue picture jonatanblue  路  3Comments

itoed picture itoed  路  3Comments