Module os has no attribute pathlike error

I actually had to reset my laptop so i had to install vmware again but when i tried to install bolt using sudo pip3 install boltiot , i am getting this error

Hi @rcbarshan ,
Please upgrade to python 3.8. Check out this thread. I guess you have already seen it and posted some issues there. You’ll get a response shortly.

yeah i saw that and i even asked doubts and attached screenshots as it did not work for me over there in that thread.

Hi @rcbarshan ,
Apologies for the delayed response. I have taken this to the team and we’ll get back to you shortly.

Hi,

I’ve updated the answer here Unable to execute sudo pip3 install boltiot - #9 by dannypraneeth

Kindly follow the steps. If you are unable to solve I’ll arrange remote session with you.