1. Install Miniconda. Choose “yes” when the installation process asks whether to add conda to PATH. Leave other settings as default.

    https://docs.anaconda.com/free/miniconda/index.html

  2. Create an python environment named gr .

    1
    2
    
    conda create -n gr python=3.11
    conda activate gr
  3. You’re now in a clean python environment. Run python --version then you’ll get Python 3.11.*.

  1. Remember to run conda activate gr every time you enter a terminal to enter the environment.