[Python] provision a custom python virtualenv with apptainer

Discussão em 'Python' iniciado por Stack, Março 19, 2025.

  1. Stack

    Stack Membro Participativo

    In order to run a software that require 32 bit environment on HPC, I have to build a container with Apptainer.

    The problem is, I need to run a python script with extra dependencies in the container. I don't want to rebuild the container whenever I add/remove python packages, so I am thinking of building a virutalenv out of the container, and mount it to the container when I run my python script. One more thing is, if a python packages has been install in the container, I don't want it to be override by the one installed in virtualenv.

    Continue reading...

Compartilhe esta Página