Error with Ubuntu updates and Bolt python library

I’ve been trying to install updates and bolt python library but I m getting an error and the files arent installed.

Hi, try this once.First you have to update the version of ubuntu by executing this command ‘sudo apt-get -y update’ and then command ‘sudo apt install python3-pip’ and then ‘sudo pip3 install boltiot’.if still error exists then execute these commands
export LC_ALL=“en_US.UTF-8”
export LC_CTYPE=“en_US.UTF-8”
sudo dpkg-reconfigure locales.