Installing anaconda

To use GUI packages with Ubuntu linux you need to install the following dependencies for Qt:

sudo apt-get -y install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 \
libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6

Find out what is the latest version of anaconda at:
https://www.anaconda.com/download#downloads

Download and install the latest anaconda as follows:

$ curl −O https://repo.anaconda.com/archive/Anaconda3−2023.09−0−Linux−x86_64.sh
$ bash ./Anaconda3-2023.09-0-Linux-x86_64.sh

Create an alias for spyder:

spy='spyder > /dev/null 2>&1 &'

Reference:
https://docs.anaconda.com/free/anaconda/install/linux