I typically open Jupyter Lab from Git Bash, with command
jupyter lab
But today it suddenly opened in a different folder than usual wrong folder in Lab I checked opening Jupyter Notebook also from Git Bash and it opens in the usual folder. right, usual folder in Notebook
I checked "jupyter_notebook_config.py." and they are both mapping to the same dir
# c.LabApp.notebook_dir = ''
# c.NotebookApp.notebook_dir = ''
However, I found these lines for Lab but not for Notebook
## The app directory to launch JupyterLab from.
# Default: 'C:\\Users\\myuser\\Anaconda3\\share\\jupyter\\lab'
# c.LabApp.app_dir = 'C:\\Users\\myuser\\Anaconda3\\share\\jupyter\\lab'
Anyone might know why is jupyter lab opening in the wrong folder? I checked these already
- How to change the Jupyter start-up folder
- How to navigate to a different directory in Jupyter Notebook?
Also, from Git Bash this opens
$ jupyter notebook --notebook-dir 'C:\\Users\\myuser\\Desktop\\'
But this doesn't open
$ jupyter notebook --notebook-dir 'C:\\Users\\myuser\\Desktop\\MyWork'
Jupyter Lab cannot see the MyWork folder, which is a GitHub master repo, could that be related? see side to side, File Explorer vs Jupyter Lab