Re: [easybuild] Unable to install Eb on CentOS 7.6

2019-06-20 Thread Kenneth Hoste

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

Hello

On Tue, Jun 18, 2019 at 2:41 PM Ole Holm Nielsen 
mailto:ole.h.niel...@fysik.dtu.dk>> 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 



Re: [easybuild] Unable to install Eb on CentOS 7.6

2019-06-18 Thread Yann Sagon
On Tue, Jun 18, 2019 at 3:36 PM Yann Sagon  wrote:

>
>
> Maybe I misunderstood, but I thought the required packages like setuptools
> are provided by the boostrap stage0?
>
> I installed python-setuptools
>
> then the error is ImportError: No module named future.utils
>
> I read as well somewhere that future.utils is not needed in a given
> vsc-base version used by the bootstrap..
>

My bad.. I was working with an old bootstrap_eb.py :( the future.utils is
indeed corrected and eb can compile without issue once the
python-setuptools is installed.

It wasn't necessary to install separately vsc-base and vsc-install.

Thanks

-- 
[image: 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


Re: [easybuild] Unable to install Eb on CentOS 7.6

2019-06-18 Thread Yann Sagon
Hello

On Tue, Jun 18, 2019 at 2:41 PM Ole Holm Nielsen 
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?

I installed python-setuptools

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

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




-- 
[image: 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


Re: [easybuild] Unable to install Eb on CentOS 7.6

2019-06-18 Thread alain



For me this helped:

yum install python-setuptools

Cheers,
Alain

On 18-06-2019 14:25, 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.

And the output is there:

https://gist.github.com/ysagon/c6514701652f90f6a029a262b74016b3

Best

--

 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 [1]



Links:
--
[1] http://www.unige.ch/stic


Re: [easybuild] Unable to install Eb on CentOS 7.6

2019-06-18 Thread Ole Holm Nielsen

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

Then it should work just fine :-)

/Ole


[easybuild] Unable to install Eb on CentOS 7.6

2019-06-18 Thread Yann Sagon
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.

And the output is there:

https://gist.github.com/ysagon/c6514701652f90f6a029a262b74016b3

Best

-- 
[image: 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