Hi Martin, I usually write a bash script to set up the venv and run it under toolforge-jobs. I've put a skeleton version at P24028 <https://phabricator.wikimedia.org/P24028>.
You may be able to use the webservice shell since the images are similar. Regards, JJ On Sun, Apr 3, 2022 at 8:14 PM Martin Urbanec <[email protected]> wrote: > I tried to execute the job using other images (incl. the non-deprecated > tf-python39), but the behavior was the same every time. I think this is > happening, because I need to create the virtual environment from within the > container, rather than via the bastion, because of differences between > environment available in the container and at the bastion. I don't know how > to do that. With websevices, I would do a webservice python3.9 shell and > create the environment from there, but I can't find a comparable solution > with toolforge-jobs. How can I fix this issue? > _______________________________________________ > Cloud mailing list -- [email protected] > List information: > https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ >
_______________________________________________ Cloud mailing list -- [email protected] List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
