Arduino Leonardo is not recognised

Usually that means you're using a damaged or charge-only USB cable. Verify the USB cable works for data (not just power) on another device.