From 8be043a9520c76a2bd504cbb6ccb9110afb361b2 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Mon, 7 Oct 2024 01:40:00 +0530 Subject: [PATCH] removed libgpiod from pip3 install and changed chmod perms --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 481d714..21bac2d 100755 --- a/setup.sh +++ b/setup.sh @@ -73,14 +73,14 @@ fi # Create and activate Python virtual environment cd "$PROJECT_DIR/" -chmod 444 ./temp-calc.py ./blinka-test.py +chmod 775 ./temp-calc.py ./blinka-test.py python3 -m venv . --system-site-packages echo -e "$line\nVirtual environment created.\n$line\n" echo -e "$line\nActivating virtual environment...\n$line\n" source $PROJECT_DIR/bin/activate echo -e "$line\nInstalling dependencies...\n$line\n" -pip3 install --upgrade setuptools click adafruit-python-shell adafruit-circuitpython-dht RPi.GPIO adafruit-blinka libgpiod +pip3 install --upgrade setuptools click adafruit-python-shell adafruit-circuitpython-dht RPi.GPIO adafruit-blinka board digitalio echo -e "$line\nSetting up raspiberry pi...\n$line\n" sudo raspi-config nonint do_i2c 0