Using EmonScripts on a Pi Zero W

Do you have a USB/Ethernet dongle by any chance?

Don’t install the WiFi modules (edit the ini) and comment out any ref to wifi in the scripts before you run it and see what happens. It might be related to this Unable to start HOSTAPD on Pi Zero W - Raspberry Pi Forums