Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enroot does not include packages installed in a conda environment from github when importing from docker #209

Open
laurajsantos opened this issue Sep 24, 2024 · 2 comments

Comments

@laurajsantos
Copy link

laurajsantos commented Sep 24, 2024

I created an image which contains a conda environment where I installed some packages from github.

When I run the image with docker everything is ok, the packages are all there.
Image

After doing enroot import and trying to run the squash file with srun the packages are no longer there, thus I can't run my program.
Image

Searched a lot online but did not find anything similar...

Any ideas how to solve this? Please all help is welcome.

@flx42
Copy link
Member

flx42 commented Sep 24, 2024

Maybe try with ENROOT_REMAP_ROOT=n with enroot, or --no-container-mount-home with pyxis.
Sometimes it's because those packages are installed in /root and they get masked by mounting your HOME directory.

@flx42
Copy link
Member

flx42 commented Sep 24, 2024

Sorry, I meant ENROOT_MOUNT_HOME=n instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants