Skip to content

Commit

Permalink
fix scipy install on armv7l with 2GB RAM
Browse files Browse the repository at this point in the history
  • Loading branch information
openoms committed Mar 23, 2021
1 parent 181d5fd commit c2a73c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/install.joinmarket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ if [ "$1" = "install" ]; then
pip install matplotlib
fi
if [ "$(pip list | grep -c scipy)" -eq 0 ];then
# https://stackoverflow.com/questions/7496547/does-python-scipy-need-blas
sudo apt-get install -y gfortran libopenblas-dev liblapack-dev
# fix 'No space left on device' with 2GB RAM
export TMPDIR='/var/tmp'
pip install scipy
export TMPDIR='/tmp'
fi
else
echo
Expand Down

0 comments on commit c2a73c7

Please sign in to comment.