PostgreSQL 10 can’t manage with pgAdmin3. So we need to use pgAdmin4 for handling PSQL10.
First of all we need to install pip3 so we need to run the command
sudo apt install python3-pip
Then install the virtualenv package
sudo pip3 install virtualenv
Then download the Python Wheel pgAdmin4
wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.9/pip/pgadmin4-4.9-py2.py3-none-any.whl
Before running this command you just check the the below link
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/
Then find the latest version
by: https://medium.com/@nikhilkrishnan/how-to-install-pgadmin4-in-ubuntu-16-04-with-python3-aecc79de4b7d