Skip to content

Commit 5a49966

Browse files
author
Dilawar Singh
committed
Build failure is most likely due to old version of matplotlib. Now we are making
sure to uninstall and reinstall matplotlib.
1 parent 8376d3e commit 5a49966

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ PYTHON=$(which python)
88
# From here https://stackoverflow.com/a/40950971/1805129
99
PYTHON_VERSION=$(python -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/')
1010
if [ "$PYTHON_VERSION" -eq "27" ]; then
11+
$PYTHON -m pip uninstall matplotlib -y || echo "Failed to remove matplotlib"
1112
$PYTHON -m pip install matplotlib==2.2.3 --upgrade
13+
$PYTHON -m pip install scipy==1.1.0 --upgrade
1214
else
15+
$PYTHON -m pip uninstall matplotlib -y || echo "Failed to remove matplotlib"
1316
$PYTHON -m pip install matplotlib --upgrade
17+
$PYTHON -m pip install --upgrade
1418
fi
1519

1620
$PYTHON -m pip install pymoose --pre --upgrade

0 commit comments

Comments
 (0)