Copiler error

I get "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00" when I try to download to Arduino nano! I have uninstalled and reinstalled the IDE twice. I still get this? HELP

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

This is not compiler error. This is uploading problem. The device is not reachable by avrdude tool for uploading: not connected, incorrect port, any HW reason, no bootloader...

hi,have you made sure the com ports match in the ide and device manager,also the baud rates match?

If this is a brand spanking new original nano, you might have to upgrade the board manager.

If the board manager was already updated and you have a clone or older original, choose old bootloader from the options.

Note: this is if memory serves me right.