Skip to content

bootstrap script should fall back to 'pip install' during stage 1 if 'easy_install' fails #2389

@boegel

Description

@boegel

Several people, including @teojgo and @A1ve5 and also @adamryczkowski (cfr. #2354) have reported running into problems with the EasyBuild bootstrap stage 1 failing with:

SystemExit: error: Could not find suitable distribution for Requirement.parse('easybuild')

when running easy_install --quiet --upgrade --prefix=/tmp/<random_sudir>/eb_stage1 easybuild

The exact reason that this fails is unclear to me, but it looks like an incompatibility between old setuptools versions and pip.

One possible fix/workaround could be to fall back to trying pip install in case the easy_install fails, since the temporary installation of EasyBuild done in stage 1 is removed once the bootstrap completes anyway...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions