Last active
August 12, 2021 18:32
-
-
Save ziligy/7a11517635d527c5492706986dd5bf75 to your computer and use it in GitHub Desktop.
shell script to install rasa v1.6.0 on raspberry pi raspbian/buster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install_rasa_on_pi.sh | |
# | |
# use with raspian 2019-09-26-raspbian-buster.img | |
# tested with rasa 1.6.0 | |
# | |
# standard update | |
sudo apt update && sudo apt upgrade -y | |
# install latest pip | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
sudo python3 get-pip.py | |
# install dependencies | |
sudo apt install python3-dev libatlas-base-dev libhdf5-dev libblas-dev liblapack-dev gfortran -y | |
sudo pip install setuptools --upgrade --ignore-installed | |
sudo pip install wrapt --upgrade --ignore-installed | |
sudo pip install botocore | |
sudo pip install scipy==1.3.3 | |
# download tensorflow 1.15 | |
# thanks to PINTO0309!! | |
# https://github.com/PINTO0309 | |
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1GzjSi71jDUOVOoThEAtThEah5SqCoV59" > /dev/null | |
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)" | |
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1GzjSi71jDUOVOoThEAtThEah5SqCoV59" -o tensorflow-1.15.0-cp37-cp37m-linux_armv7l.whl | |
echo Download finished. | |
sudo pip install tensorflow-1.15.0-cp37-cp37m-linux_armv7l.whl | |
sudo pip install rasa | |
echo --------------------------------------------------------- | |
echo "install complete!" | |
echo "*** NOTE ** rasa works fine with pre-trained models only!" | |
echo "training a model on the pi is not currently operational" | |
echo --------------------------------------------------------- |
divyanshu9
commented
Mar 10, 2020
via email
Ya got it installed after several retries. Thanks
…On Tuesday, March 10, 2020, jeff greenberg ***@***.***> wrote:
Did you try more than once?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/7a11517635d527c5492706986dd5bf75?email_source=notifications&email_token=AEFVBCM7REDF3XPHK7LB4DDRGV5S3A5CNFSM4KWYVQ3KYY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAGDV2O#gistcomment-3206055>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFVBCJU4IQQV2G2NOY3LGLRGV5S3ANCNFSM4KWYVQ3A>
.
👍🏼
… On Mar 9, 2020, at 8:16 PM, Divyanshu Mishra ***@***.***> wrote:
Ya got it installed after several retries. Thanks
On Tuesday, March 10, 2020, jeff greenberg ***@***.***> wrote:
> Did you try more than once?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://gist.github.com/7a11517635d527c5492706986dd5bf75?email_source=notifications&email_token=AEFVBCM7REDF3XPHK7LB4DDRGV5S3A5CNFSM4KWYVQ3KYY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAGDV2O#gistcomment-3206055>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEFVBCJU4IQQV2G2NOY3LGLRGV5S3ANCNFSM4KWYVQ3A>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <https://gist.github.com/7a11517635d527c5492706986dd5bf75?email_source=notifications&email_token=AABE5UOXH6G44WSYNMTU2D3RGWBGLA5CNFSM4KWYVQ3KYY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAGDV5E#gistcomment-3206098>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABE5ULE7X325BDHUUZ6MJLRGWBGLANCNFSM4KWYVQ3A>.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment