Temperature humidity sensor error

While doing my temperature and humidity sensor project using Arduino and get sms when temperature crosses threshold, am unable to run it ubuntu terminal to get value to be seen. An error keeps popping ‘‘invalid literal for int() with base 10’’
Please someone tell me ASAP, I’ve my project submission tomorrow

You are using the “int()” function somewhere where the variable returned inside the bracket is not an integer. It must be some character. If you are trying to extract integer values from your sensors then put whole of your code inside “try:” and in case you want to print that error has occurred then write print(“Error message”) after “except:”

I did all the things you mentioned correctly, still am getting the error