Enclosure Plugun 4.13.1 setup issues

My steup i as follows,

browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1500
env.hardware.ram: 1888698368
env.os.bits: 64
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 4 Model B Rev 1.1
env.plugins.pi_support.octopi_version: 0.18.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.2.4
env.python.version: 3.7.3
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.5.2

Have installed Enclosure Plugin 4.13.1, instrallation went fine, proble is when installing the the tempeature probe liberies. I run the folloing command as per the instructions

Open raspberry pi terminal and type:

cd ~

cd git clone https://github.com/adafruit/Adafruit_Python_DHT.gitAdafruit_Python_DHT
sudo apt-get update
sudo apt-get install build-essential python-dev python-openssl
sudo python setup.py install

The last command is when I get the issues.
the following is a screen from the PI terminal

pi@octopi:~ cd~ -bash: cd~: command not found pi@octopi:~ cd ~
pi@octopi:~ git clone https://github.com/adafruit/Adafruit_Python_DHT.git fatal: destination path 'Adafruit_Python_DHT' already exists and is not an empty directory. pi@octopi:~ cd Adafruit_Python_DHT
pi@octopi:~/Adafruit_Python_DHT sudo apt-get update [sudo] password for pi: Hit:1 http://deb.debian.org/debian buster InRelease Get:2 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB] Hit:3 http://deb.debian.org/debian buster-updates InRelease Hit:4 http://archive.raspberrypi.org/debian buster InRelease Get:5 http://deb.debian.org/debian-security buster/updates/main armhf Packages [250 kB] Get:6 http://deb.debian.org/debian-security buster/updates/main arm64 Packages [250 kB] Get:7 http://deb.debian.org/debian-security buster/updates/main Translation-en [140 kB] Fetched 706 kB in 2s (296 kB/s) Reading package lists... Done pi@octopi:~/Adafruit_Python_DHT sudo apt-get install build-essential python-dev python-openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
python-openssl is already the newest version (19.0.0-1).
python-dev is already the newest version (2.7.16-1).
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
pi@octopi:~/Adafruit_Python_DHT $ sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup, find_packages, Extension
ImportError: No module named setuptools

The error in the last line is a result of the packages being down loaded.

How do I fix this as it does not load the liberies needed.