Skip to content

Commit f93de9d

Browse files
committed
Update python version
1 parent a16388e commit f93de9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def dockerfile_for_linux(output_file):
106106
df += """
107107
# The manylinux container defaults to Python 3.7, but some feature installation
108108
# requires a higher version.
109-
ARG PYVER=3.10
109+
ARG PYVER=3.12
110110
ENV PYTHONPATH=/opt/python/v
111111
RUN ln -sf /opt/python/cp${PYVER/./}* ${PYTHONPATH}
112112
@@ -202,7 +202,7 @@ def dockerfile_for_linux(output_file):
202202
ENV OpenVINO_DIR=$INTEL_OPENVINO_DIR/runtime/cmake
203203
ENV LD_LIBRARY_PATH=$INTEL_OPENVINO_DIR/runtime/lib/intel64:$LD_LIBRARY_PATH
204204
ENV PKG_CONFIG_PATH=$INTEL_OPENVINO_DIR/runtime/lib/intel64/pkgconfig
205-
ENV PYTHONPATH=$INTEL_OPENVINO_DIR/python/python3.10:$INTEL_OPENVINO_DIR/python/python3:$PYTHONPATH
205+
ENV PYTHONPATH=$INTEL_OPENVINO_DIR/python/python3.12:$INTEL_OPENVINO_DIR/python/python3:$PYTHONPATH
206206
"""
207207

208208
## TEMPORARY: Using the tensorrt-8.0 branch until ORT 1.9 release to enable ORT backend with TRT 8.0 support.

0 commit comments

Comments
 (0)