Voila: 404 : Not Found when running voila from jupyterlab

Created on 22 Mar 2020  路  6Comments  路  Source: voila-dashboards/voila

I've installed voila

pip install voila

and I've installed the jupyterlab extension

jupyter labextension install @jupyter-voila/jupyterlab-preview

When I try to Render Notebook with Voila or Open with Voila in New Browser Tab, I get a 404 : Not Found error.

image

However when I launch the same notebook using voila from the command line (voila index.ipynb) I am able to then access it in a web browser. I think maybe when I launch voila from Jupyterlab it's looking in the wrong place for the file, but I'm not sure how to fix this.

Most helpful comment

i got the same error as above( Page you requested does not exist).
Then i followed this
conda install -c conda-forge jupyter
conda install notebook
and then ran jupyter notebook.
and it worked!!!

All 6 comments

Oh I found the issue: voila was installed in /home/tyler/.local/bin but jupyterlab was trying to run it as root. I fixed it by adding this line to ~/.bashrc:

export PATH=/home/tyler/.local/bin:$PATH

and then

source .bashrc

i got the same error as above( Page you requested does not exist).
Then i followed this
conda install -c conda-forge jupyter
conda install notebook
and then ran jupyter notebook.
and it worked!!!

I'm facing this issue and none of the above methods resolves it

Could you please report the output of

jupyter serverextension list?

~$ jupyter serverextension list config dir: /home/cyc/.jupyter jupyterlab enabled - Validating... jupyterlab 3.0.15 OK

i got the same error as above( Page you requested does not exist).
Then i followed this
conda install -c conda-forge jupyter
conda install notebook
and then ran jupyter notebook.
and it worked!!!

thanks it worked!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fleimgruber picture fleimgruber  路  7Comments

laserman781 picture laserman781  路  3Comments

ericmjl picture ericmjl  路  9Comments

paugier picture paugier  路  6Comments

cornhundred picture cornhundred  路  4Comments