I have followed the given instruction in this site.
I got no error during installation. But when I try to execute sudo ./AdafruitDHT.py 2302 4
Failed to get reading. Try again!
Sometimes I get reading, but temperature and humidity values are wrong. Humidity around 3200%.
I have tested DHT22 without any error.
When I try joan's answer , my output is
Thanks in advance.
sudo pigpiod
.sudo pigpiod
it worked.