# 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.
# b/185992410: onnx is a dependency of pytext, but the version 1.9.0 breaks pytext test.
# Remove this installation when pytext fixes the problem.
pip install onnx==1.8.1 && \
# b/145404107: latest version force specific version of numpy and torch.
pip install pytext-nlp==0.1.2 && \
pip install tsfresh && \
pip install pykalman && \
pip install optuna && \
pip install plotly_express && \
pip install albumentations && \
pip install catalyst && \
pip install osmnx && \
apt-get -y install libspatialindex-dev && \
pip install pytorch-ignite && \
pip install qgrid && \
pip install bqplot && \
pip install earthengine-api && \
pip install transformers && \
pip install dlib && \
pip install kaggle-environments && \
pip install geopandas && \
pip install nnabla && \
pip install vowpalwabbit && \
# papermill can replace nbconvert for executing notebooks
pip install cloud-tpu-client && \
# b/188429515#comment7 tensorflow-cloud >= 0.1.14 installs tensorflow-transform which install apache-beam which downgrades the google.cloud library to 1.x.
pip install tensorflow-cloud==0.1.13 && \
pip install tensorflow-datasets && \
pip install pydub && \
pip install pydegensac && \
pip install pytorch-lightning && \
pip install datatable && \
pip install sympy && \
# flask is used by agents in the simulation competitions.
pip install flask && \
# pycrypto is used by competitions team.
pip install pycrypto && \
pip install easyocr && \
# Keep JAX version in sync with GPU image.
pip install jax==0.2.12 jaxlib==0.1.64 && \
# ipympl adds interactive widget support for matplotlib
# Stop Matplotlib printing junk to the console on first load
sed -i "s/^.*Matplotlib is building the font cache using fc-list.*$/# Warning removed by Kaggle/g" /opt/conda/lib/python3.7/site-packages/matplotlib/font_manager.py && \
# Make matplotlib output in Jupyter notebooks display correctly