diff options
-rwxr-xr-x | bin/install.sh | 2 | ||||
-rw-r--r-- | bin/postinstall.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/install.sh b/bin/install.sh index 2c96658..93fd7a1 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -140,7 +140,7 @@ else execCommand "apt -qy install nodejs" fi execCommand "apt -qy install jq curl" -execCommand "apt -qy install python3-pip" +execCommand "apt -qy install python3-pip python3-venv" execCommand "pip3 install virtualenv" # Get package diff --git a/bin/postinstall.sh b/bin/postinstall.sh index 85a77e7..fa10db9 100644 --- a/bin/postinstall.sh +++ b/bin/postinstall.sh @@ -8,6 +8,7 @@ header "Create python virtualenv and install dependencies" execCommand "rm -rf $CWD/NeoRuntime/Runtime/venv" execCommand "pip3 install virtualenv" execCommand "virtualenv -p /usr/bin/python3 \"$CWD/NeoRuntime/Runtime/venv\"" +execCommand "source \"$CWD/NeoRuntime/Runtime/venv/bin/activate\" && pip install websockets" 1 header "Attempting to install the rpi_ws281x library, if you want to actually control some leds you need this. Don't worry if not." -execCommand "source \"$CWD/NeoRuntime/Runtime/venv/bin/activate\" && pip install rpi_ws281r" 1 +execCommand "source \"$CWD/NeoRuntime/Runtime/venv/bin/activate\" && pip install rpi_ws281x" 1 |