Problem when opening jupyter-lab on linux VM

Hi,

I get the following permission denied error when i try to setup my starter notebook for python in the linux vm.

/opt/conda/bin/python3.8: can't open file '/opt/conda/bin/jupyter-lab': [Errno 13] Permission denied

How do i resolve this?

1 Like

@Song_Tian_Yu_Zhi
Try this -
sudo chmod -R 777 /home/workspace/.jupyter

1 Like

Hi,

I also have a problem with jupyter-lab. sudo chmod -R 777 /home/workspace/.jupyter does not work.

Hi @kamil_kurach,

Can you please share the exact problem you are facing?

Ayush

Hi @ashivani,

First problem started at bash < /ds_shared_drive/setup.sh. I had to run it with sudo otherwise conda was not able to create env.

After jupyter-lab command I got

/opt/conda/bin/python3.8: can't open file '/opt/conda/bin/jupyter-lab': [Errno 13] Permission denied

I tried sudo chmod -R 777 /home/desktop0/.jupyter which resulted in same error after jupyter-lab command.

I tried sudo chown -R workspace /opt/conda/bin but after I run jupyter-lab I got No module named jupyter_core.application

SOLUTION: I think it was sudo chown -R workspace /home/workspace/.local and sudo chown -R workspace /opt/conda

restart conda env

UPDATE: I’ve managed to make submission so its resolved

1 Like