You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this helpful little repo, btw.
I was trying to build a kern-3 image because some things I need are not yet in kern-4.
I wanted to add a further pip package, so I appended this line to the Singularity file
pip install astLib
and was rewarded with (at the end of a lengthy image build)
+ pip install astLib
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
ABORT: Aborting with RETVAL=255
Cleaning up...
Why this is needed in the Singularity file?
pip install --upgrade pip virtualenv
Discussion of this issue here suggests it's not good practice:
btw it is a path issue, /usr/local/bin should be looked at before /usr/bin, but somehow that doesn't happen inside the container. If you do /usr/local/bin/pip install etc it works.
Thanks for this helpful little repo, btw.
I was trying to build a kern-3 image because some things I need are not yet in kern-4.
I wanted to add a further pip package, so I appended this line to the Singularity file
and was rewarded with (at the end of a lengthy image build)
Why this is needed in the Singularity file?
Discussion of this issue here suggests it's not good practice:
I was able to add the extra module with
The text was updated successfully, but these errors were encountered: