I can't launch Spyder from Anaconda when my antivirus is on

I can’t launch Spyder from Anaconda when my antivirus (Windows Defender) is on. I keep getting exit code 1. This problem, however, disappears when I turn my antivirus off.