On 18/06/2019 15:36, Yann Sagon wrote:
Hello

On Tue, Jun 18, 2019 at 2:41 PM Ole Holm Nielsen <[email protected] <mailto:[email protected]>> wrote:

    On 6/18/19 2:25 PM, Yann Sagon wrote:
     > I'm trying to install EasyBuild as user in CentOS 7.6.
     >
     > I tried this procedure:
     >
    
https://easybuild.readthedocs.io/en/latest/Installation.html#bootstrapping-procedure
     >
     > which complains about vsc-install.

    You should first check the Requirements:
    https://easybuild.readthedocs.io/en/latest/Installation.html#requirements
    
https://easybuild.readthedocs.io/en/latest/Installation.html#required-python-packages


Maybe I misunderstood, but I thought the required packages like setuptools are provided by the boostrap stage0?

To clarify: yes, but i) if setuptools is available, stage0 is skipped; ii) it tries to install a very old setuptools version, which can be problematic on recent OSs.

It's strongly recommended to install setuptools through an OS package or using 'pip install'.


I installed python-setuptools

then the error is ImportError: No module named future.utils

That's because vsc-base requires the 'future' package now, since we've (finally) started work towards making it compatible with Python 3.

Those changes are irrelevant to EasyBuild though, so you can get away with installing a slightly older vsc-base version (<2.9.0 is fine).

I read as well somewhere that future.utils is not needed in a given vsc-base version used by the bootstrap..

Indeed, vsc-base 2.8.x doesn't require 'future' yet.


It's worth mentioning that all of this pain will disappear soon, since EasyBuild 4.0 will not have a (runtime) dependency on vsc-base or setuptools anymore, just Python standard library will suffice.

I will also try to get rid of setuptools as an installation dependency, I don't think there's a strong reason to have it (but I need to double-check that).



regards,

Kenneth





--
Logo UNIGE      Yann Sagon
Référent HPC

Division du système et des technologies de l'information et de la communication
Université de Genève | 24 rue Général-Dufour
Tél 022 379 77 37 | Bureau 151

www.unige.ch/stic <http://www.unige.ch/stic>

Reply via email to