Took Pi SD card, flew out of state, and plug in different Pi

Pi works on NYC. But Running IDE won’t compile on different state. Do I need to format SD card, download Raspbian, and do over again?

I don’t think that depends on your location, but it might well depend on the network settings of your new network.

Keep in mind there are different versions of raspberry pi’s as well, with different architectures. Make sure you’re plugging into the exact same version of raspberry pi.