An electric fence will deter most ground predators but I've found it needs to be a fence, not a couple of wires. The rpoblem is that fences and wires need maintenance to work properly; as @DobieLover mentions, it's very easy to get sever voltage drops in the fence due to it shorting on growing weeds etc.