diff --git a/cara/scripts/themes/base/cara_script.command b/cara/scripts/themes/base/cara_script.command index d4fc9048..5d34e193 100755 --- a/cara/scripts/themes/base/cara_script.command +++ b/cara/scripts/themes/base/cara_script.command @@ -2,5 +2,9 @@ cd Downloads git clone https://gitlab.cern.ch/cara/cara.git cd cara git lfs pull +if [[ `uname -m` == 'arm64' ]]; then + pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple + pip3 install -U --no-use-pep517 scikit-learn +fi pip3 install -e . python3 -m cara.apps.calculator \ No newline at end of file diff --git a/cara/scripts/themes/cern/cara_script.command b/cara/scripts/themes/cern/cara_script.command index e154d2db..f217789b 100755 --- a/cara/scripts/themes/cern/cara_script.command +++ b/cara/scripts/themes/cern/cara_script.command @@ -2,5 +2,9 @@ cd Downloads git clone https://gitlab.cern.ch/cara/cara.git cd cara git lfs pull +if [[ `uname -m` == 'arm64' ]]; then + pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple + pip3 install -U --no-use-pep517 scikit-learn +fi pip3 install -e . python3 -m cara.apps.calculator --theme=cara/apps/calculator/themes/cern \ No newline at end of file