![]() ![]() You will notice that project view has fewer files and directory. You should use double quotes if there is any space in the directory path.Īfter changing the directory, relaunch the jupyter lab again. You will need to uncomment this by removing # and store the path of default desired directory there. Now, we can edit default directory location in this configuration file by defining the value of #c.NotebookApp.notebook_dir = ”. This will create a configuration file at c:/users/username/.jupyter/jupyter_notebook_config.py. For changing it, we will need to first generate jupyter lab configuration file. We can change the default directory so that it is easier to manage projects. As can be seen in the above picture, it will show all of the files in that folder which can make the whole setup very cluttered. Jupyter lab Changing default directoryīy default, Jupyter lab set up c:/users/username as the default directory. Now, Let’s launch Jupyter lab by typing jupyter lab in command prompt. You can skip it if it is already installed. The first command installs Jupyter notebook in your system. It is important to have Jupyter notebook installed before installing Jupyter Lab. If you are not using anaconda and have installed python separately, you can install it using Pip install jupyter If not you can install it using the command:- conda install - c conda - forge jupyterlab ![]() If you are using anaconda then most probably jupyter lab is already there. Installing jupyter lab is very easy and might depend on how you have installed python. In this post, I will discuss how to install and configure it on windows so that it is more convenient to use. Jupyter lab has removed these shortcomings and has added new useful features such as running code blocks from text files, edit and view popular data files, rearrange cells by dragging them etc. but it was lagging in creating and running scripts or code from text files(.py. Notebook cell-based structure was very convenient for doing data exploration, model building etc. It has become one of the most preferred ways to code in data science field and academia. Jupyter lab is an interactive development environment and the way forward for people using Jupyter notebook.
0 Comments
Leave a Reply. |