  
  # To disable tzdata and others from asking for input
  ENV DEBIAN_FRONTEND noninteractive
  
  RUN apt-get update -qq -y \
   && apt-get install -y software-properties-common \
   && add-apt-repository -y ppa:jonathonf/ffmpeg-4 \
   && apt-get update -qq -y \
   && apt-get install -y libsm6 libxrender1 libxext-dev python3-tk ffmpeg git \
   && apt-get clean \
   && rm -rf /var/lib/apt/lists/*
  
  COPY ./requirements/_requirements_base.txt /opt/
  RUN pip3 install --upgrade pip
  RUN pip3 --no-cache-dir install -r /opt/_requirements_base.txt && rm /opt/_requirements_base.txt
  
 
</s> remove #install python3.8
RUN apt-get update
RUN apt-get install software-properties-common -y
RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt-get update
RUN apt-get install python3.8 -y 
RUN apt-get install python3.8-distutils -y
RUN apt-get install python3.8-tk -y
RUN apt-get install curl -y
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.8 get-pip.py
RUN rm get-pip.py
 </s> add ENV DEBIAN_FRONTEND=noninteractive
ENV FACESWAP_BACKEND nvidia </s> remove             "tensorflow-gpu.\r\n"
 </s> add             "tensorflow.\r\n" </s> remove             "The minimum Tensorflow requirement is 2.8 \n"
 </s> add             "The minimum Tensorflow requirement is 2.10 \n" </s> remove             The Conda channel to install from. Select ``None`` for default channel.
            Default: ``None``
 </s> add             The Conda channel to install from. Select empty string for default channel.
            Default: ``""`` (empty string)
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
  
  # To disable tzdata and others from asking for input
  ENV DEBIAN_FRONTEND noninteractive
  
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
RUN apt-get update -qq -y
RUN apt-get upgrade -y
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
  
  COPY ./requirements/_requirements_base.txt /opt/
  RUN pip3 install --upgrade pip
  RUN pip3 --no-cache-dir install -r /opt/_requirements_base.txt && rm /opt/_requirements_base.txt
  
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
Dockerfile.cpu