We are talking about the proper Electrum here. And yes, it is flagged, in every version, by more or less antiviruses.
An antivirus is usually looking in the file for certain sequences of bytes (virus signatures). It's a method that can easily produce false positives.
Also, yeah, it's known that the Pyhon packer also produces false positives.
The binaries are not built by the one that writes the code, exactly for double checking and to avoid surprises.
Also, OP, don't rule out that maybe
something else you have installed could have already damaged something.
The following words tell it all:
If you trust the developers of the project, you can verify the GPG signature, and ignore any anti-virus warnings.
If you don't trust the developers with not backdooring the binaries, you can (1) build binaries yourself; or (2) you can run from source. Some of the binaries are built reproducibly, so you can also check that those match.
I can only add a 3rd option: you can always use another wallet, nobody is forcing you use Electrum.