Skip to content

Commit 592a6fb

Browse files
Add site-packages into the PATH environment variable. (#2115)
* Add site-packages in the PATH environment variable too * Do some rephrase * Remove dist-packages.
1 parent 47fb798 commit 592a6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticdl_client/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def init_zoo(args):
5050
--extra-index-url={{ EXTRA_PYPI_INDEX }}
5151
5252
RUN pip install elasticdl --extra-index-url={{ EXTRA_PYPI_INDEX }}
53-
ENV PATH /usr/local/lib/python3.6/dist-packages/elasticdl/go/bin:$PATH
53+
ENV PATH /usr/local/lib/python3.6/site-packages/elasticdl/go/bin:$PATH
5454
5555
COPY . /model_zoo
5656
RUN pip install -r /model_zoo/requirements.txt\

0 commit comments

Comments
 (0)