We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ecde8c commit ca66b99Copy full SHA for ca66b99
test.sh
@@ -7,8 +7,8 @@ PYTHON=$(which python)
7
8
# From here https://stackoverflow.com/a/40950971/1805129
9
PYTHON_VERSION=$(python -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/')
10
-if [ "$ver" -eq "27" ]; then
11
- $PYTHON -m pip install matplotlib==2.3 --upgrade
+if [ "$PYTHON_VERSION" -eq "27" ]; then
+ $PYTHON -m pip install matplotlib==2.2.3 --upgrade
12
else
13
$PYTHON -m pip install matplotlib --upgrade
14
fi
0 commit comments