dpkg: error processing package python (--remove) on Ubuntu 18.04

I have multiple python versions(2.7,3.6 and 3.8) installed on my Ubuntu 18.04. I am trying to uninstall Python3.8 to avoid versions conflict by following these steps. Please have a look at it. Everything went well until the last step, running sudo dpkg -r python gives me this error-

$ sudo dpkg -r python
dpkg: dependency problems prevent removal of python:
 python-sip depends on python (<< 2.8).
 python-sip depends on python (>= 2.7~).
 python-sip depends on python (<< 2.8).
 python-sip depends on python (>= 2.7~).
 python-sip depends on python (<< 2.8).
 python-sip depends on python (>= 2.7~).
 python-sip depends on python (<< 2.8).
 python-sip depends on python (>= 2.7~).
 python-xdg depends on python (<< 2.8).
 python-xdg depends on python (>= 2.7).
 python-xdg depends on python (<< 2.8).
 python-xdg depends on python (>= 2.7).
 python-xdg depends on python (<< 2.8).
 python-xdg depends on python (>= 2.7).
 python-rosinstall-generator depends on python (<< 2.8).
 python-rosinstall-generator depends on python (>= 2.7).
 python-rosinstall-generator depends on python (<< 2.8).
 python-rosinstall-generator depends on python (>= 2.7).
 python-rosinstall-generator depends on python (<< 2.8).
 python-rosinstall-generator depends on python (>= 2.7).
 libboost-mpi-python1.65.1 depends on python (<< 2.8).
 libboost-mpi-python1.65.1 depends on python (>= 2.7~).
 libboost-mpi-python1.65.1 depends on python (<< 2.8).
 libboost-mpi-python1.65.1 depends on python (>= 2.7~).
 libboost-mpi-python1.65.1 depends on python (<< 2.8).
 libboost-mpi-python1.65.1 depends on python (>= 2.7~).
 libboost-mpi-python1.65.1 depends on python (<< 2.8).
 libboost-mpi-python1.65.1 depends on python (>= 2.7~).
 python-pil:amd64 depends on python (<< 2.8).
 python-pil:amd64 depends on python (>= 2.7~).
 python-pil:amd64 depends on python (<< 2.8).
 python-pil:amd64 depends on python (>= 2.7~).
 python-pil:amd64 depends on python (<< 2.8).
 python-pil:amd64 depends on python (>= 2.7~).
 python-pil:amd64 depends on python (<< 2.8).
 python-pil:amd64 depends on python (>= 2.7~).
 python-all depends on python (= 2.7.15~rc1-1).
 python-ubjson depends on python (<< 2.8).
 python-ubjson depends on python (>= 2.7~).
 python-ubjson depends on python (<< 2.8).
 python-ubjson depends on python (>= 2.7~).
 python-ubjson depends on python (<< 2.8).
 python-ubjson depends on python (>= 2.7~).
 python-ubjson depends on python (<< 2.8).
 python-ubjson depends on python (>= 2.7~).
 python-tk depends on python (>= 2.7).
 python-tk depends on python (<< 2.8).
 python-tk depends on python (>= 2.7).
 python-tk depends on python (<< 2.8).
 python-subprocess32 depends on python (<< 2.8).
 python-subprocess32 depends on python (>= 2.7~).
 python-subprocess32 depends on python (<< 2.8).
 python-subprocess32 depends on python (>= 2.7~).
 python-subprocess32 depends on python (<< 2.8).
 python-subprocess32 depends on python (>= 2.7~).
 python-subprocess32 depends on python (<< 2.8).
 python-subprocess32 depends on python (>= 2.7~).
 python-catkin-pkg depends on python (<< 2.8).
 python-catkin-pkg depends on python (>= 2.7).
 python-catkin-pkg depends on python (<< 2.8).
 python-catkin-pkg depends on python (>= 2.7).
 python-cryptography depends on python (<< 2.8).
 python-cryptography depends on python (>= 2.7~).
 python-cryptography depends on python (<< 2.8).
 python-cryptography depends on python (>= 2.7~).
 python-cryptography depends on python (<< 2.8).
 python-cryptography depends on python (>= 2.7~).
 python-cryptography depends on python (<< 2.8).
 python-cryptography depends on python (>= 2.7~).
 python-empy depends on python.
 python-empy depends on python.
 python-empy depends on python.
 python-rosdep depends on python (<< 2.8).
 python-rosdep depends on python (>= 2.7).
 python-rosdep depends on python (<< 2.8).
 python-rosdep depends on python (>= 2.7).
 python-rosdep depends on python (<< 2.8).
 python-rosdep depends on python (>= 2.7).
 python-zope.interface depends on python (<< 2.8).
 python-zope.interface depends on python (>= 2.7~).
 python-zope.interface depends on python (<< 2.8).
 python-zope.interface depends on python (>= 2.7~).
 python-zope.interface depends on python (<< 2.8).
 python-zope.interface depends on python (>= 2.7~).
 python-zope.interface depends on python (<< 2.8).
 python-zope.interface depends on python (>= 2.7~).
 python-all-dev depends on python (= 2.7.15~rc1-1).
 python-cbor depends on python (<< 2.8).
 python-cbor depends on python (>= 2.7~).
 python-cbor depends on python (<< 2.8).
 python-cbor depends on python (>= 2.7~).
 python-cbor depends on python (<< 2.8).
 python-cbor depends on python (>= 2.7~).
 python-cbor depends on python (<< 2.8).
 python-cbor depends on python (>= 2.7~).
 python-rospkg-modules depends on python (<< 2.8).
 python-rospkg-modules depends on python (>= 2.7).
 python-rospkg-modules depends on python (<< 2.8).
 python-rospkg-modules depends on python (>= 2.7).
 python-rospkg-modules depends on python (<< 2.8).
 python-rospkg-modules depends on python (>= 2.7).
 mercurial depends on python (<< 2.8).
 mercurial depends on python (>= 2.7~).
 mercurial depends on python (<< 2.8).
 mercurial depends on python (>= 2.7~).
 mercurial depends on python (<< 2.8).
 mercurial depends on python (>= 2.7~).
 mercurial depends on python (<< 2.8).
 mercurial depends on python (>= 2.7~).
 python-gi depends on python (<< 2.8).
 python-gi depends on python (>= 2.7~).
 python-gi depends on python (<< 2.8).
 python-gi depends on python (>= 2.7~).
 python-gi depends on python (<< 2.8).
 python-gi depends on python (>= 2.7~).
 python-gi depends on python (<< 2.8).
 python-gi depends on python (>= 2.7~).
 python-vcstools depends on python (<< 2.8).
 python-vcstools depends on python (>= 2.7).
 python-vcstools depends on python (<< 2.8).
 python-vcstools depends on python (>= 2.7).
 python-vcstools depends on python (<< 2.8).
 python-vcstools depends on python (>= 2.7).
 python-gobject-2 depends on python (<< 2.8).
 python-gobject-2 depends on python (>= 2.7~).
 python-gobject-2 depends on python (<< 2.8).
 python-gobject-2 depends on python (>= 2.7~).
 python-gobject-2 depends on python (<< 2.8).
 python-gobject-2 depends on python (>= 2.7~).
 python-gobject-2 depends on python (<< 2.8).
 python-gobject-2 depends on python (>= 2.7~).
 python-rospkg depends on python (<< 2.8).
 python-rospkg depends on python (>= 2.7).
 python-rospkg depends on python (<< 2.8).
 python-rospkg depends on python (>= 2.7).
 python-rospkg depends on python (<< 2.8).
 python-rospkg depends on python (>= 2.7).
 cython depends on python (<< 2.8).
 cython depends on python (>= 2.7~).
 cython depends on python (<< 2.8).
 cython depends on python (>= 2.7~).
 cython depends on python (<< 2.8).
 cython depends on python (>= 2.7~).
 cython depends on python (<< 2.8).
 cython depends on python (>= 2.7~).
 python-netifaces depends on python (<< 2.8).
 python-netifaces depends on python (>= 2.7).
 python-netifaces depends on python (<< 2.8).
 python-netifaces depends on python (>= 2.7).
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-twisted-bin:amd64 depends on python (<< 2.8).
 python-twisted-bin:amd64 depends on python (>= 2.7~).
 python-twisted-bin:amd64 depends on python (<< 2.8).
 python-twisted-bin:amd64 depends on python (>= 2.7~).
 python-twisted-bin:amd64 depends on python (<< 2.8).
 python-twisted-bin:amd64 depends on python (>= 2.7~).
 python-twisted-bin:amd64 depends on python (<< 2.8).
 python-twisted-bin:amd64 depends on python (>= 2.7~).
 python-catkin-pkg-modules depends on python (<< 2.8).
 python-catkin-pkg-modules depends on python (>= 2.7).
 python-catkin-pkg-modules depends on python (<< 2.8).
 python-catkin-pkg-modules depends on python (>= 2.7).
 python-catkin-pkg-modules depends on python (<< 2.8).
 python-catkin-pkg-modules depends on python (>= 2.7).
 python-opencv depends on python (<< 2.8).
 python-opencv depends on python (>= 2.7~).
 python-opencv depends on python (<< 2.8).
 python-opencv depends on python (>= 2.7~).
 python-opencv depends on python (<< 2.8).
 python-opencv depends on python (>= 2.7~).
 python-opencv depends on python (<< 2.8).
 python-opencv depends on python (>= 2.7~).
 python-catkin-pkg depends on python (<< 2.8).
 python-catkin-pkg depends on python (>= 2.7).
 python-catkin-pkg depends on python (<< 2.8).
 python-catkin-pkg depends on python (>= 2.7).
 python-all-dev depends on python (= 2.7.15~rc1-1).
 python-numpy depends on python (<< 2.8).
 python-numpy depends on python (>= 2.7~).
 python-numpy depends on python (<< 2.8).
 python-numpy depends on python (>= 2.7~).
 python-numpy depends on python (<< 2.8).
 python-numpy depends on python (>= 2.7~).
 python-numpy depends on python (<< 2.8).
 python-numpy depends on python (>= 2.7~).
 ...   ...    ...
 ...   ...    ...
 python-pyqt5.qtwebkit depends on python (<< 2.8).
 python-pyqt5.qtwebkit depends on python (>= 2.7~).
 python-pyqt5.qtwebkit depends on python (<< 2.8).
 python-pyqt5.qtwebkit depends on python (>= 2.7~).
 python-pyqt5.qtwebkit depends on python (<< 2.8).
 python-pyqt5.qtwebkit depends on python (>= 2.7~).
 python-pyqt5.qtwebkit depends on python (<< 2.8).
 python-pyqt5.qtwebkit depends on python (>= 2.7~).
 python-pyqt5 depends on python (<< 2.8).
 python-pyqt5 depends on python (>= 2.7~).
 python-pyqt5 depends on python (<< 2.8).
 python-pyqt5 depends on python (>= 2.7~).
 python-pyqt5 depends on python (<< 2.8).
 python-pyqt5 depends on python (>= 2.7~).
 python-pyqt5 depends on python (<< 2.8).
 python-pyqt5 depends on python (>= 2.7~).
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (<< 2.8); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-matplotlib depends on python (>= 2.7~); however:
  Package python is to be removed.
  Package python which provides python is to be removed.
 python-simplejson depends on python (<< 2.8).
 python-simplejson depends on python (>= 2.7~).
 python-simplejson depends on python (<< 2.8).
 python-simplejson depends on python (>= 2.7~).
 python-simplejson depends on python (<< 2.8).
 python-simplejson depends on python (>= 2.7~).
 python-simplejson depends on python (<< 2.8).
 python-simplejson depends on python (>= 2.7~).

dpkg: error processing package python (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 python

And I tried to update the packages but it gives me unmet dependencies error -

$ sudo apt-get update && sudo apt-get upgrade
Hit:1 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic InRelease
Hit:2 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic-updates InRelease
Hit:3 https://download.docker.com/linux/ubuntu bionic InRelease                    
Hit:4 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic-backports InRelease
Hit:5 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu bionic-security InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease              
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease                       
Hit:8 http://dl.winehq.org/wine-builds/ubuntu bionic InRelease                     
Hit:9 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease 
Hit:10 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease
Hit:11 http://ppa.launchpad.net/micahflee/ppa/ubuntu bionic InRelease              
Hit:12 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease    
Hit:13 http://packages.ros.org/ros/ubuntu bionic InRelease                         
Hit:14 http://wiki.jderobot.org/apt bionic InRelease                     
Reading package lists... Done                       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bzr : Depends: python:any
 cython : Depends: python (< 2.8) but 3.8.0-1 is installed
          Depends: python:any (< 2.8)
          Depends: python:any (>= 2.7.5-5~)
 googletest : Depends: python:any
 libboost-mpi-python1.65.1 : Depends: python (< 2.8) but 3.8.0-1 is installed
                             Depends: python:any (< 2.8)
                             Depends: python:any (>= 2.7.5-5~)
 mercurial : Depends: python (< 2.8) but 3.8.0-1 is installed
             Depends: python:any (< 2.8)
             Depends: python:any (>= 2.7~)
 mercurial-common : Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-all : Depends: python (= 2.7.15~rc1-1) but 3.8.0-1 is installed
 python-all-dev : Depends: python (= 2.7.15~rc1-1) but 3.8.0-1 is installed
 python-asn1crypto : Depends: python:any (< 2.8)
                     Depends: python:any (>= 2.7.5-5~)
 python-attr : Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-autobahn : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-automat : Depends: python:any (< 2.8)
                  Depends: python:any (>= 2.7.5-5~)
 python-backports.functools-lru-cache : Depends: python:any (< 2.8)
                                        Depends: python:any (>= 2.7.5-5~)
 python-bzrlib : Depends: python (< 2.8) but 3.8.0-1 is installed
                 Depends: python:any (>= 2.6.6-7~)
 python-cairo : Depends: python (< 2.8) but 3.8.0-1 is installed
                Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-catkin-pkg : Depends: python (< 2.8) but 3.8.0-1 is installed
 python-catkin-pkg-modules : Depends: python (< 2.8) but 3.8.0-1 is installed
                             Depends: python:any (>= 2.6.6-7~)
 python-cbor : Depends: python (< 2.8) but 3.8.0-1 is installed
               Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-cffi-backend : Depends: python (< 2.8) but 3.8.0-1 is installed
                       Depends: python:any (< 2.8)
                       Depends: python:any (>= 2.7~)
 python-chardet : Depends: python:any (< 2.8)
                  Depends: python:any (>= 2.7.5-5~)
 python-click : Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-colorama : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-concurrent.futures : Depends: python:any (< 2.8)
                             Depends: python:any (>= 2.7.5-5~)
 python-configobj : Depends: python (< 2.8) but 3.8.0-1 is installed
 python-constantly : Depends: python:any (< 2.8)
                     Depends: python:any (>= 2.7.5-5~)
 python-crypto : Depends: python (< 2.8) but 3.8.0-1 is installed
                 Depends: python:any (< 2.8)
                 Depends: python:any (>= 2.7.5-5~)
 python-cryptography : Depends: python (< 2.8) but 3.8.0-1 is installed
                       Depends: python:any (< 2.8)
                       Depends: python:any (>= 2.7.5-5~)
 python-cycler : Depends: python:any (< 2.8)
                 Depends: python:any (>= 2.7.5-5~)
 python-dateutil : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-dbus : Depends: python (< 2.8) but 3.8.0-1 is installed
               Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-defusedxml : Depends: python:any (< 2.8)
                     Depends: python:any (>= 2.7.5-5~)
 python-dev : Depends: python (= 2.7.15~rc1-1) but 3.8.0-1 is installed
 python-docutils : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-empy : Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-enum34 : Depends: python:any (< 2.8)
                 Depends: python:any (>= 2.7.5-5~)
 python-gi : Depends: python (< 2.8) but 3.8.0-1 is installed
             Depends: python:any (< 2.8)
             Depends: python:any (>= 2.7.5-5~)
 python-gnupg : Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-gobject-2 : Depends: python (< 2.8) but 3.8.0-1 is installed
                    Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-gtk2 : Depends: python (< 2.8) but 3.8.0-1 is installed
               Depends: python:any (>= 2.6.6-7~)
 python-httplib2 : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-hyperlink : Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-idna : Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-incremental : Depends: python:any (< 2.8)
                      Depends: python:any (>= 2.7.5-5~)
 python-ipaddress : Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-keyring : Depends: python:any (< 2.8)
                  Depends: python:any (>= 2.7.5-5~)
 python-keyrings.alt : Depends: python:any (< 2.8)
                       Depends: python:any (>= 2.7.5-5~)
 python-launchpadlib : Depends: python:any (< 2.8)
                       Depends: python:any (>= 2.7.5-5~)
 python-lazr.restfulclient : Depends: python:any (< 2.8)
                             Depends: python:any (>= 2.7.5-5~)
 python-lazr.uri : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-lz4 : Depends: python (< 2.8) but 3.8.0-1 is installed
              Depends: python:any (< 2.8)
              Depends: python:any (>= 2.7.5-5~)
 python-matplotlib : Depends: python (< 2.8) but 3.8.0-1 is installed
                     Depends: python:any (< 2.8)
                     Depends: python:any (>= 2.7.5-5~)
 python-pydot : Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-pygments : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-pyparsing : Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-pyqt5 : Depends: python (< 2.8) but 3.8.0-1 is installed
                Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-pyqt5.qsci : Depends: python (< 2.8) but 3.8.0-1 is installed
                     Depends: python:any (< 2.8)
                     Depends: python:any (>= 2.7~)
 python-pyqt5.qtopengl : Depends: python (< 2.8) but 3.8.0-1 is installed
                         Depends: python:any (< 2.8)
                         Depends: python:any (>= 2.7~)
 python-pyqt5.qtsvg : Depends: python (< 2.8) but 3.8.0-1 is installed
                      Depends: python:any (< 2.8)
                      Depends: python:any (>= 2.7~)
 python-pyqt5.qtwebkit : Depends: python (< 2.8) but 3.8.0-1 is installed
                         Depends: python:any (< 2.8)
                         Depends: python:any (>= 2.7~)
 python-qrcode : Depends: python:any (< 2.8)
                 Depends: python:any (>= 2.7.5-5~)
 python-twisted-bin : Depends: python (< 2.8) but 3.8.0-1 is installed
                      Depends: python:any (< 2.8)
                      Depends: python:any (>= 2.7~)
 python-twisted-core : Depends: python:any (< 2.8)
                       Depends: python:any (>= 2.7.5-5~)
 python-txaio : Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-tz : Depends: python:any (< 2.8)
             Depends: python:any (>= 2.7.5-5~)
 python-u-msgpack : Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-ubjson : Depends: python (< 2.8) but 3.8.0-1 is installed
                 Depends: python:any (< 2.8)
                 Depends: python:any (>= 2.7.5-5~)
 python-vcstools : Depends: python (< 2.8) but 3.8.0-1 is installed
                   Depends: python:any (>= 2.6.6-7~)
 python-vtk6 : Depends: python (< 2.8) but 3.8.0-1 is installed
               Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-wadllib : Depends: python (< 2.8) but 3.8.0-1 is installed
                  Depends: python:any (>= 2.6.6-7~)
 python-wheel : Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
 python-wsaccel : Depends: python (< 2.8) but 3.8.0-1 is installed
                  Depends: python:any (< 2.8)
                  Depends: python:any (>= 2.7.5-5~)
 python-wstool : Depends: python (< 2.8) but 3.8.0-1 is installed
                 Depends: python:any (>= 2.7.1-0ubuntu2)
 python-wxgtk3.0 : Depends: python (< 2.8) but 3.8.0-1 is installed
                   Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
 python-wxtools : Depends: python:any
 python-wxversion : Depends: python:any (< 2.8)
                    Depends: python:any (>= 2.7.5-5~)
 python-xdg : Depends: python (< 2.8) but 3.8.0-1 is installed
              Depends: python:any (>= 2.6.6-7~)
 python-yaml : Depends: python (< 2.8) but 3.8.0-1 is installed
               Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
 python-zope.interface : Depends: python (< 2.8) but 3.8.0-1 is installed
                         Depends: python:any (< 2.8)
                         Depends: python:any (>= 2.7.5-5~)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Additional infos -

$ python -V
Python 2.7.17
$ pip -V
pip 20.2.3 from /usr/local/lib/python2.7/dist-packages/pip-20.2.3-py2.7.egg/pip (python 2.7)

Now, whatever I do on terminal, it gives unmet dependencies error(above error). All I want to do is remove this error and uninstall python3.8 if that doesn't affect my system. Any idea on how to solve this python version conflict? Thanks for any help.