diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-11-28 21:56:35 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-11-28 21:56:35 +0300 |
commit | 2ac5b2d9ff43ad64cb5b49d1b3266661180da8e1 (patch) | |
tree | 7a5604cb163cf0599a87829d5e0a093e76603344 /init.sh | |
parent | 2065f9dea69fcec0d76eda15205759631cb535d4 (diff) | |
download | inter-2ac5b2d9ff43ad64cb5b49d1b3266661180da8e1.tar.xz |
Upgrade toolchain to Python 3, fontmake 1.8.0 and numpy 1.15.4
Diffstat (limited to 'init.sh')
-rwxr-xr-x | init.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -58,16 +58,16 @@ else require_virtualenv() { # find pip - export pip=$(which pip2) + export pip=$(which pip3) if [ "$pip" = "" ]; then export pip=$(which pip) fi echo "using pip: $pip $(pip --version)" if [ "$pip" = "" ]; then - echo "Pip for Python 2 not found (tried pip and pip2 in PATH)" >&2 + echo "Pip for Python 3 not found (tried pip and pip3 in PATH)" >&2 exit 1 - elif ! ($pip --version 2>&1 | grep -q 'ython 2'); then - echo "Pip for Python 2 not found (found pip for different python version)" >&2 + elif ! ($pip --version 2>&1 | grep -q 'ython 3'); then + echo "Pip for Python 3 not found (found pip for different python version)" >&2 exit 1 fi # find virtualenv |