Python 3.11 has been released as of Oct 2022. Domino Standard Environments (DSE) always trail the newest released versions of included software such as Python & R as their intent is to provide a stable default environment for the broadest portion of the user base. New DSE environments release when a new version of Domino is released. The current v5.4 release of the DSE contains python 3.9.
Note that the version tag of a DSE just indicates where it was released. A DSE tagged with any 5.x version should be generally compatible with all version 4 & 5 Domino deployments.
If you need or want to try the newest release of python you will not find it in DSEs for at least several quarters after it's initial release. But these versions are relatively easy to install yourself.
If you are not familiar with creating Domino Compute Environments, documentation can be found here:
If you are just looking for some example docker instructions to install python 3.11 then use the following:
The docker instructions below were built on the current DSE at the time of this writing,
Using other base images may require adjustments to the install python 3.11 properly.
RUN apt update
RUN apt install software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt update
RUN apt install python3.11 -y
RUN update-alternatives --install /opt/conda/bin/python python /usr/bin/python3.11 1
RUN update-alternatives --install /opt/conda/bin/python3 python3 /usr/bin/python3.11 1
RUN apt install python3.11-distutils -y
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
RUN pip install --upgrade jupyter
Please sign in to leave a comment.