Reputation: 43
I have installed jupyter lab in anaconda using "conda install -c conda-forge jupyterlab" in the anaconda command prompt, but when i try to launch jupyter lab the error mentioned above comes up.
P.S I am able to open Jupyter Notebook through anaconda.
Upvotes: 4
Views: 8906
Reputation: 744
With Anaconda Navigator closed, right click on Anaconda Navigator and click "Run As Administrator"
Then, when you launch JupyterLab it will work.
Upvotes: 7
Reputation: 1446
If you don't have full admin permissions on your machine, one workaround would be to replicate the jupyter-notebook shortcut, but point it to jupyter-lab instead.
To do that:
C:\Users\<yourusername>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)
)C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py "%USERPROFILE%/"
change jupyter-notebook-script.py
to jupyter-lab-script.py
. Upvotes: 6