Download and install Python 3.10.9 (for most compatibility with things like pycaret and AutoML) - https://www.python.org/downloads/release/python-3109/. Scroll down from this link and find the Windows installer (64-bit) - python-3.10.9-amd64.exe.
Run the python-3.10.9-amd64.exe file.
Checkbox add python.exe to PATH and click the Install Now button. Click the Install Now button.
I you get a message to to Disable path length limit during Setup was successful. Go ahead and to this to enable bypassing the 260 character limitation. Close when done.
This is most likely already installed on Ubuntu and you can move directly to Install Jupyter Lab. Check by typing python3 into the terminal and quit() to exit.
you will have to adjust commands to use ‘python3’ instead of ‘python’
Open Terminal and enter commands to install python3
sudo apt install python3
You will need to install pip
sudo apt install python3-pip