From 16054b3687ebfd6440da9c9e46495261bd8d885b Mon Sep 17 00:00:00 2001 From: Fardeen Panjwani Date: Thu, 23 Mar 2023 18:10:54 -0400 Subject: [PATCH 1/2] docs: add an alternative package if original fails The old instructions mentioned adafruit-python**3**-shell as a dependency but when I tried to install the package I found out that the package didn't exist ( or deprecated I think ) and I was able to use adafruit-python-shell instead. So, I thought I might add the package to the instructions in case anyone else runs into the same issue as me. --- libgpiod.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libgpiod.py b/libgpiod.py index adc5f46..5f63480 100755 --- a/libgpiod.py +++ b/libgpiod.py @@ -1,7 +1,9 @@ # Instructions! # cd ~ # sudo apt-get install python3-pip -# sudo pip3 install --upgrade adafruit-python3-shell click +# sudo pip3 install --upgrade adafruit-python3-shell click +# => NOTE: if the adafruit library fails, try installing +# the adafruit-python-shell package instead. # wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/libgpiod.py # sudo python3 libgpiod.py From 108f4e381b0ce29dfd92b0ce5486429b97f6e832 Mon Sep 17 00:00:00 2001 From: Fardeen Panjwani Date: Thu, 23 Mar 2023 18:24:12 -0400 Subject: [PATCH 2/2] docs(libgpiod): fix typo --- libgpiod.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libgpiod.py b/libgpiod.py index 5f63480..520becf 100755 --- a/libgpiod.py +++ b/libgpiod.py @@ -1,9 +1,7 @@ # Instructions! # cd ~ # sudo apt-get install python3-pip -# sudo pip3 install --upgrade adafruit-python3-shell click -# => NOTE: if the adafruit library fails, try installing -# the adafruit-python-shell package instead. +# sudo pip3 install --upgrade adafruit-python-shell click # wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/libgpiod.py # sudo python3 libgpiod.py