Skip to content

Commit 91d0ca3

Browse files
committed
aggregate 3/n
1 parent 13fe71f commit 91d0ca3

File tree

1 file changed

+38
-41
lines changed

1 file changed

+38
-41
lines changed

Dockerfile.tmpl

Lines changed: 38 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -345,55 +345,52 @@ RUN pip install tensorpack && \
345345
# Add google PAIR-code Facets
346346
cd /opt/ && git clone https://github.com/PAIR-code/facets && cd facets/ && jupyter nbextension install facets-dist/ --user && \
347347
export PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/ && \
348-
pip install pycountry && \
349-
pip install iso3166 && \
350-
pip install pydash && \
351348
pip install kmodes --no-dependencies && \
352-
pip install librosa && \
353-
pip install polyglot && \
354-
pip install mmh3 && \
355-
pip install fbpca && \
356-
pip install sentencepiece && \
357-
pip install cufflinks && \
358-
pip install lime && \
359-
pip install memory_profiler && \
349+
pip install librosa \
350+
polyglot \
351+
mmh3 \
352+
fbpca \
353+
sentencepiece \
354+
cufflinks \
355+
lime \
356+
memory_profiler && \
360357
/tmp/clean-layer.sh
361358

362359
# install cython & cysignals before pyfasttext
363-
RUN pip install --upgrade cython && \
364-
pip install --upgrade cysignals && \
365-
pip install pyfasttext && \
366-
pip install fasttext && \
360+
RUN pip install cython && \
361+
cysignals \
362+
pyfasttext \
363+
fasttext && \
367364
apt-get install -y libhunspell-dev && pip install hunspell && \
368-
pip install annoy && \
369-
pip install category_encoders && \
370-
# google-cloud-automl 2.0.0 introduced incompatible API changes, need to pin to 1.0.1
371-
pip install google-cloud-automl==1.0.1 && \
372-
pip install google-api-core==1.33.2 && \
373-
pip install google-cloud-bigquery==2.2.0 && \
374-
pip install google-cloud-storage && \
375-
pip install google-cloud-translate==3.* && \
376-
pip install google-cloud-language==2.* && \
377-
pip install google-cloud-videointelligence==2.* && \
378-
pip install google-cloud-vision==2.* && \
365+
pip install annoy \
366+
category_encoders \
367+
# google-cloud-automl 2.0.0 introduced incompatible API changes, need to pin to 1.0.1
368+
google-cloud-automl==1.0.1 \
369+
google-api-core==1.33.2 \
370+
google-cloud-bigquery==2.2.0 \
371+
google-cloud-storage \
372+
google-cloud-translate==3.* \
373+
google-cloud-language==2.* \
374+
google-cloud-videointelligence==2.* \
375+
google-cloud-vision==2.* && \
379376
# b/183041606#comment5: the Kaggle data proxy doesn't support these APIs. If the library is missing, it falls back to using a regular BigQuery query to fetch data.
380377
pip uninstall -y google-cloud-bigquery-storage && \
381378
# After launch this should be installed from pip
382-
pip install git+https://github.com/googleapis/python-aiplatform.git@mb-release && \
383-
pip install ortools && \
384-
pip install scattertext && \
385-
# Pandas data reader
386-
pip install pandas-datareader && \
387-
pip install wordsegment && \
388-
pip install wordbatch && \
389-
pip install emoji && \
390-
# Add Japanese morphological analysis engine
391-
pip install janome && \
392-
pip install wfdb && \
393-
pip install vecstack && \
394-
# yellowbrick machine learning visualization library
395-
pip install yellowbrick && \
396-
pip install mlcrate && \
379+
pip install git+https://github.com/googleapis/python-aiplatform.git@mb-release \
380+
ortools \
381+
scattertext \
382+
# Pandas data reader
383+
pandas-datareader \
384+
wordsegment \
385+
wordbatch \
386+
emoji \
387+
# Add Japanese morphological analysis engine
388+
janome \
389+
wfdb \
390+
vecstack \
391+
# yellowbrick machine learning visualization library
392+
yellowbrick \
393+
mlcrate && \
397394
/tmp/clean-layer.sh
398395

399396
RUN pip install bleach && \

0 commit comments

Comments
 (0)