check for RPi.GPIO which is a dependancy for:

Adafruit_Blinka/src/adafruit_blinka/microcontroller/bcm283x/pin.py
This commit is contained in:
pat 2021-02-12 14:04:17 -07:00
parent 60524f5831
commit 5ae7756391

View file

@ -62,8 +62,9 @@ def update_pip():
def install_blinka():
print("Installing latest version of Blinka locally")
shell.run_command("sudo apt-get install -y i2c-tools")
shell.run_command("pip3 install --upgrade RPi.GPIO")
shell.run_command("pip3 install --upgrade adafruit-blinka")
def main():
global default_python
shell.clear()