# 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.
# 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.16 jaxlib==0.1.68 && \
# 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