diff --git a/stage-honeypi/01-install-honeypi/00-run.sh b/stage-honeypi/01-install-honeypi/00-run.sh index 4358b63..beb1819 100755 --- a/stage-honeypi/01-install-honeypi/00-run.sh +++ b/stage-honeypi/01-install-honeypi/00-run.sh @@ -109,13 +109,13 @@ dpkg-reconfigure -f noninteractive ntp echo '>>> Upgrade pip to at least v22.3' python3 -m pip install --upgrade pip # upgrade pip to at least v22.3 echo '>>> Install software for measurement python scripts' -pip3 install -r /home/${FIRST_USER_NAME}/HoneyPi/requirements.txt --upgrade +pip3 install -r /home/${FIRST_USER_NAME}/HoneyPi/requirements.txt echo '>>> Install deprecated DHT library for measurement python scripts' # deprecated, but still used for Pi Zero WH because of known issues such as https://github.com/adafruit/Adafruit_CircuitPython_DHT/issues/73 - no longer working on bullseye -python3 -m pip install --upgrade pip setuptools wheel # see: https://stackoverflow.com/a/72934737/6696623 -pip3 install Adafruit_DHT --config-settings="--force-pi" -pip3 install Adafruit_Python_DHT --config-settings="--force-pi" +python3 -m pip install --upgrade setuptools wheel # see: https://stackoverflow.com/a/72934737/6696623 +pip3 install Adafruit_DHT --config-settings="force-pi=1" +pip3 install Adafruit_Python_DHT --config-settings="force-pi=1" echo '>>> Install software for Webinterface' lighttpd-enable-mod fastcgi