Problem with puthon3-pip in vm

I am trying to install boltiot python library but when i try the “sudo apt install python3-pip” commqne this error pops up. Please guide me to get of of this. Thanks

Did you upgrade and update your packages first? If not do so by using

sudo apt-get update
sudo apt-get install -y python3-pip

If this doesn’t work, try enabling universe by typing the command

sudo add-apt-repository universe 

and then type the above 2 commands

Please let me know if the error still persists.

It didn’t worked…
I have done update and upgrade several time and all the times it is successfully done.
When i type “sudo add-apt-repository universe” command , it shows command not found.
Also while i am updating the packages 3,4 pakages are
Showing error and they are not installing.
What should i do now?

@singhankit1582, which software are you using? putty or virtual box?

Hii @singhankit1582,
Iam using vm. Let me try to explain how i installed it perfectly after facing such issues.

1.Update package(Don’t Skip this)
sudo apt-get -y update
2.Install
sudo apt install python3-pip
3.Install BoltIot
sudo pip3 install boltiot

If u have any error…please let me know.
Hope this Works…

@singhankit1582 Could you tell the output of the following command first?

python3 --version