These commands should be entered in the terminal. Open it with Ctrl + Alt + T
- Download installer:
curl -o miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
- Install
bash ./miniconda.sh
Make sure to follow installer and select yes
when it asks you to add a path prefix/modify shell init or whatever.
- Open and close terminal again. Check that everything works by typing
conda info
- Remove installer file
rm miniconda.sh
- Create an environment and install jupyter lab and pandas
conda create -n pyenv python=3.8 jupyterlab pandas -c conda-forge
- Activate the environment (this you do in the future whenever you open the terminal and need to use python)
conda activate pyenv
- Open Jupyter lab
jupyter lab
- In Jupyter Lab, try some python stuff. For example
print(f"What is 3*5? A: {3*5}")
- Done. From here on try (in this order): basic python tutorial, numpy tutorial and pandas tutorial