Python3.1 directory in torch docker images /opt/conda/lib

Hello,

In the directory /opt/conda/lib there are python3.1 and python3.10 directories, for the torch images using Python 3.10. The 3.1 directory is a symbolic link to the 3.10 folder. I have other images, pytorch/pytorch:1.8.0-cuda11.1-cudnn8-devel for example, and there is a single python3.8 directory in the /opt/conda/lib.

So I would like to new the reason of the python3.1 folder. Is it to solve this setuptools issue in the case where an old package would be installed in the python3.1 instead of python3.10?

So I would like to new the reason of the python3.1 folder. Is it to solve this setuptools issue in the case where an old package would be installed in the python3.1 instead of python3.10 ?

It is likely this reason. I can’t think of another reason why we’d do that.

1 Like