For fixing this issue follow these steps:
Step 1: Update the package on Ubuntu server.
For upgrading type -> sudo apt-get -y update
So that all the packages gets update to
Step 2: Install python3 pip3
As pip3 is a package manager for python3
used to install and manage packages and
For installing type: sudo apt install python3-
Step 3: Installing boltiot library using pip
For installing type -> sudo pip3 install boltiot
After following these simple steps you can install bolt python library at your ubuntu server.
As your version is old and it also not satisfies the requirements that’s why you faced this issue.
Hope this helps.