If you're using the network connection to this scanner, then you don't need to install any Kyocera drivers. However, you might need to make sure your firewall is configured to allow VueScan to talk to your scanner.
Kyocera Ecosys M2040dn Scanner Driver Download →→→ https://cinurl.com/2zCQ9P