This little guide is meant to help you through flashing your WeMos D1 with the MicroPython firmware.
Go to http://micropython.org/download#esp8266 and download the latest version of the micropython firmware.
In order to write to the Flash memory of the D1, pin D3 must be connected to GND.