pip install jupyterlab
Start JupyterLab using:
jupyter lab
Using Jupyter Notebook in Virtual Environment
step 1 Creation of virtual environments is done by executing the command venv:
python -m venv /path/to/new/virtual/environment
Step 2: Activate the virtual environment
Now as we have our virtual environment let’s activate it.
venv\Scripts\activate
venv\Scripts\Activate.ps1 cannot be loaded because running scripts is disabled on this system.
According to Microsoft Tech Support it might be a problem with Execution Policy Settings. To fix it, you should try executing Set-ExecutionPolicy Unrestricted -Scope Process
(as mentioned in the comment section by @wtsiamruk) in your PowerShell window. This would allow running virtualenv in the current PowerShell session.
Step 3: Install jupyter kernel for the virtual environment using the following command:
Running the following command will create a kernel that can be used to run jupyter notebook commands inside the virtual environment.
ipython kernel install --user --name=venv
Step 4: Select the installed kernel when you want to use jupyter notebook in this virtual environment