JupyterLab for Python
first download and custom install the latest version of python, checking the box for environment variablesto access Jupyter Lab through Anaconda:
- download Anaconda
- custom install Anaconda, making sure the "environment variable" box is checked
- type 'ana' in the START menu and choose 'Anaconda Navigator'
- click on 'Jupyter Lab'
- select Python 3 (ipykernel) under Notebook or
- File > New > Notebook > select Python 3 (ipykernel)
- rename the file in the left panel
- type in Python code and press SHIFT+ENTER to run the code and move to a new cell
- to run all cells, choose Run > Run All Cells
- to delete a cell, ESC > d,d (or) click the 'Delete Cells' icon on the right corner of the cell
- to add comments, use the dropdown arrow on the right of 'Code' and use 'Markdown'
- to go to the next line in the comment, use '<br>'
- install Jupyter Lab using pip, run the following code at the 'cmd' prompt: pip install jupyterlab
- access "Environment Variables" as an administrator as follows:
- press Windows + R to open the Run window
- type sysdm.cpl and press Enter to open System Properties
- select the Advanced tab
- click the Environment Variables button
- click on 'Path' under 'System Variables'
- click 'Edit'
- add C:\Users\Owner\AppData\Local\Programs\Python\Python312\Scripts to the path (change 'owner' to your computer name)
- open the 'cmd' promt, and type in 'jupyter-lab'
- after the jupyter session is finished, exit the session in the 'cmd' window with CTRL+C