vitormhenrique / OctoPrint-Enclosure

OctoPrint Enclosure Plugin
GNU General Public License v3.0
396 stars 202 forks source link

Adafruit DHT no longer supported in python2 #388

Open koloshiol opened 3 years ago

koloshiol commented 3 years ago

Instructions in the readme no longer work for DHT11, DHT22, and AM2302 sensors. Decrimented in January 2020, unsupported entirely as of January 2021.

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

should include python3 specific instructions: cd ~ git clone https://github.com/adafruit/Adafruit_Python_DHT.git cd Adafruit_Python_DHT sudo apt install python3 python3-pip sudo python3 -m pip install --upgrade pip setuptools wheel sudo pip3 install Adafruit_DHT sudo python3 setup.py install

See Adafruit's page for more details: https://github.com/adafruit/Adafruit_Python_DHT

matthewfallshaw commented 3 years ago

See #368