Skip to content

Commit 79394a3

Browse files
committed
CI solve issue of bash install file
1 parent fe2e5bf commit 79394a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build_tools/azure/install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ elif [[ "$DISTRIB" == "conda-pip-latest-tensorflow" ]]; then
7575
python -m pip install numpy scipy scikit-learn pandas tensorflow
7676

7777
elif [[ "$DISTRIB" == "conda-latest-tensorflow" ]]; then
78-
make_conda " python=$PYTHON_VERSION numpy scipy scikit-learn pandas tensorflow"
78+
make_conda "python=$PYTHON_VERSION numpy scipy scikit-learn pandas tensorflow"
7979

8080
elif [[ "$DISTRIB" == "conda-minimum-tensorflow" ]]; then
81-
TO_INSTALL="$python=$PYTHON_VERSION"
81+
TO_INSTALL="python=$PYTHON_VERSION"
8282
TO_INSTALL="$TO_INSTALL $(get_dep numpy $NUMPY_VERSION)"
8383
TO_INSTALL="$TO_INSTALL $(get_dep scipy $SCIPY_VERSION)"
8484
TO_INSTALL="$TO_INSTALL $(get_dep scikit-learn $SKLEARN_VERSION)"
@@ -87,7 +87,7 @@ elif [[ "$DISTRIB" == "conda-minimum-tensorflow" ]]; then
8787
make_conda $TO_INSTALL
8888

8989
elif [[ "$DISTRIB" == "conda-pip-latest-keras" ]]; then
90-
make_conda "=$PYTHON_VERSION"
90+
make_conda "python=$PYTHON_VERSION"
9191
python -m pip install -U pip
9292

9393
python -m pip install numpy scipy scikit-learn pandas keras
@@ -96,7 +96,7 @@ elif [[ "$DISTRIB" == "conda-latest-keras" ]]; then
9696
make_conda "=$PYTHON_VERSION numpy scipy scikit-learn pandas keras"
9797

9898
elif [[ "$DISTRIB" == "conda-minimum-keras" ]]; then
99-
TO_INSTALL="=$PYTHON_VERSION"
99+
TO_INSTALL="python=$PYTHON_VERSION"
100100
TO_INSTALL="$TO_INSTALL $(get_dep numpy $NUMPY_VERSION)"
101101
TO_INSTALL="$TO_INSTALL $(get_dep scipy $SCIPY_VERSION)"
102102
TO_INSTALL="$TO_INSTALL $(get_dep scikit-learn $SKLEARN_VERSION)"
@@ -105,7 +105,7 @@ elif [[ "$DISTRIB" == "conda-minimum-keras" ]]; then
105105
make_conda $TO_INSTALL
106106

107107
elif [[ "$DISTRIB" == "conda-pip-scipy-dev" ]]; then
108-
make_conda "=$PYTHON_VERSION"
108+
make_conda "python=$PYTHON_VERSION"
109109
python -m pip install -U pip
110110
echo "Installing numpy and scipy master wheels"
111111
dev_anaconda_url=https://pypi.anaconda.org/scipy-wheels-nightly/simple

0 commit comments

Comments
 (0)