To read DHT22 data the new library adafruit-circuitpython-dht 3.7.0 did not work for me. However the old one Adafruit-DHT 1.4.0 did.
sudo pip install Adafruit_DHT
You might need some other libraries:
sudo apt install libatlas-base-dev
Fix "Illegal instruction" error:
- numpy version 1.20.3
- pandas version 1.2
Worked for me.
I followed this instruction to run the app on a server:
Note: For gunicorn to work with dash you need to enter server instead
of app.
You can simply test this by running in the root directory with the active virtualenv the following command:
gunicorn -b :8000 src:server