also got that error
from the wemos when uploading
The image at the link you provided clearly shows 3 pins for the DHT11 with the -ve on the right in the picture.
This image looks like yours and shows +ve is center pin and left is data (Signal) pin.
You haven’t installed the DHT library or if you have, not correctly.