How to install DHT11/22 Adafruit library

When I use a DHT sensor, either the 11 or 22, I install the Adafruit drivers like this:

sudo apt-get update
sudo apt-get install python3-pip
sudo python3 -m pip install --upgrade pip setuptools wheel

sudo pip3 install Adafruit_DHT

blogroll

social