--
I'm installing and using singularity inside a conda environment. When this conda environment is activated, a specific version of python executables is added to PATH.
The main singularity binary shell script overwrites the PATH environment variable with:
PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin}"
( https://github.com/vsoch/singularity/blob/5acfa9c7084814358e98b23f17b38413240a9780/bin/singularity.in#L40 )
Which, on a system without python installed to one of these results in ENOENT when trying to execve() any of the other singularity python helper scripts, e.g. via "singularity import FOO" (in which case "#!/usr/bin/env python" fails to find a suitable executable in import.py)
Could we at least include in the PATH, $(dirname "$(which python)"), if it's not in the other paths?
Regards,
JS
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--apologies if my text lacks upper-case -- the shift
key aggravates my carpal tunnel & tendinitis.
david...@gmail.com cell: 352-275-7438
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.