-
Notifications
You must be signed in to change notification settings - Fork 202
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
generated container recipes are broken because latest pip is used which is not compatible with Python 2 anymore #3956
Comments
@nortex The problem here most likely is that the most recent versions of |
Hi, By system pip you mean the container system pip? How this can be fixed so i could build singularity containers from easybuild? This happens with every single container i am trying to build using easybuild... |
A reminder - is there any suggestions on how to fix this issue? |
Hey, yesterday I have stumbled upon the same issue. I partially solved it by taking the created Singularity container recipe and fixed the content by switching the python 2, to python 3, and then by updating the pip3 to newer version. My workaround at the moment is: replace in the yum install part In my case I still had later the issue with executing the "eb" command in the container, but this is something I am resolving at the moment. |
Thanks for your replay, can you explain how can i change the singularity recipe that is created by easybuild? it is creating the recipe during the build and directly using it, no? How other users are using the EasyBuild container feature? Will this problem is going to be solved anytime? |
@nortex I am not a developer, just a user, so I guess we are both interested in the answer of the second part of your question :) About editing: |
I see, so you basically build the image directly with Singularity, that is what i thought of too. There is an option in EasyBuild to use recipe template, so you can use the created definition file from easybuild, change the python lines and use the flag: --container-template-recipe Singularity.foss-2019a.tmpl and EasyBuild should create the container taking in account the fixed template. The problem is that is not working too and i am getting EasyBuild errors... I think that new easybuild version is not working well with the containerize featute... Thank you, the second question was indeed directed to developers :) |
I also tested the template option, and yes, it fails. This is due to the fact that template just leaves a variable of %post installing package list. The list itself is "currupted". Therefore the template without all the correct python and pip versions, like what I suggested, will also fail. |
Hi,
I am currently testing the work of easybuild containers (using Singularity). No matter which image i am trying to build, it is failing during the pip installation. Here is an example:
The text was updated successfully, but these errors were encountered: