Issue with pip install github packages on singularity image

Hi,
I am currently trying to run my own fork of the spinningup github package on the real robot, and am running into issues where it doesn’t fully install using pip install git+. The errors I run into are a) unable to run MPI_INIT and b) unable to import the spinup module. Has anyone run into something similar/gotten pip install to work on a git repo?


For now, I am just including the necessary files from the package in our user code

Just a guess but did you try installing without --user already, so that it gets installed system-wide? I don’t know which user is active during the singularity build (probably root) but it will definitely be a different one when running it on the robot.

Thank you for the reply, sorry for the delay. I think that wasn’t it but we found a work-around in the end.