Can someone help me with this esptool.py error?

In that case you need to select the correct board - in Tools -> Board select 'Arduino AVR Boards' and then 'Arduino Uno'. The make sure you have selected the correct serial port. Now compile and upload again.