Adafruit DHT no longer supported in python2 #388

Open
opened 2021-01-26 20:23:36 +00:00 by koloshiol · 1 comment
koloshiol commented 2021-01-26 20:23:36 +00:00 (Migrated from github.com)

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

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 2021-01-30 09:16:33 +00:00 (Migrated from github.com)

See #368

See #368
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#388