Dear Kenneth ,

It worked perfectly !

Thank you very much !
quim

Missatge de Kenneth Hoste <[email protected]> del dia dc., 7 de nov.
2018 a les 22:10:

> Dear Joaquim,
>
> This is basically a problem with the easyconfig file you are using,
> where not all required Python packages are properly listed in it.
>
> Because of that, setuptools will try and download the missing required
> dependencies during the installaltion, which will then fail because of a
> lack of internet access.
> As far as I know, you can't let setuptools pick up pre-downloaded source
> tarballs...
>
> The proper way of fixing this is to fix the easyconfig file, and specify
> the missing required Python packages (in the right order).
>
> We have recently been paying closer attention to this, to the point
> where EasyBuild detects auto-downloaded Python packages and subsequently
> fails, exactly to avoid the problem you're running into (and also to
> ensure that easyconfig files can be installed again later without
> running into problems because updated versions of the required Python
> packages are pulled in).
>
> Please see the ASE 3.16.2 easyconfig in attachment. It's for a different
> toolchain and Python version, but hopefully you should be able to get it
> working for an offline installation with minimal changes.
>
> With a sufficiently recent EasyBuild version, you can use "eb --fetch"
> on this to obtain all requires source tarballs, which you can then
> upload in the /a/ASE/extensions subdirectory of the source path on the
> offline system.
>
> I'll follow up on this via
> https://github.com/easybuilders/easybuild-easyconfigs/pull/7139 where
> I'll fix all current easyconfigs for ASE 3.16.2 so that they can be
> installed offline (which will then be carried forward to future ASE
> versions as well).
>
>
> regards,
>
> Kenneth
>
> On 07/11/2018 12:23, Joaquim Jornet Somoza wrote:
> > Dear Easybuilders,
> >
> > I am trying to install ASE 1.16.2 with Easybuild 3.6.2,  in a server
> > without direct net connection, but the installation fails
> > with the following error message:
> >
> > Installed
> >
> .../ASE/3.16.2-intel-2016a-Python-3.5.1/lib/python3.5/site-packages/ase-3.16.2-py3.5.egg
> > *Processing dependencies for ase==3.16.2
> > Searching for flask*
> > Reading https://pypi.python.org/simple/flask/
> > Download error on https://pypi.python.org/simple/flask/: [Errno 101]
> > Network is unreachable -- Some packages may not be found!
> > Couldn't find index page for 'flask' (maybe misspelled?)
> > Scanning index of all packages (this may take a while)
> > Reading https://pypi.python.org/simple/
> > Download error on https://pypi.python.org/simple/: [Errno 101] Network
> > is unreachable -- Some packages may not be found!
> > *No local packages* or download links found for flask
> > error: Could not find suitable distribution for
> Requirement.parse('flask')
> >   (at easybuild/tools/run.py:501 in parse_cmd_output)
> > == 2018-11-05 15:42:04,123 easyblock.py:2776 WARNING build failed (first
> > 300 chars): cmd "
> >
> /home/software/RHEL/6/Westmere/software/Python/3.5.1-intel-2016a/bin/python
> > setup.py install
> >
> --prefix=/home/software/RHEL/6/Westmere/software/ASE/3.16.2-intel-2016a-Python-3.5.1
>
> > " exited with exit code 1 and output:
> >
> > I tried to manually put the flask tarball in the source extension folder
> > for both, ASE and Python...but the problem remains...
> >
> > Can some of you tell me where does Easybuild look for the "local
> packages".
> > (ASE is build using PythonPackage easyblock)
> >
> > Sincerely,
> > quim
> >
> > --
> >
> ----------------------------------------------------------------------------------------------------------------------------------------
> > Dr. Joaquim Jornet Somoza
> > Postdoctoral Researcher                      email:
> > [email protected] <mailto:[email protected]>     tel:
> >    0034 650 73 48 91
> > Theory Department
> > The Max Planck Institute for the Structure and Dynamics of Matter (MPSD)
> > Bldg. 99 (CFEL)
> > Luruper Chaussee 149
> > 22761 Hamburg
> >
> > Nano-Bio Spectroscopy group
> > Departamento de Física de Materiales
> > Universidad del País Vasco (UPV/EHU)
> > Donostia-San Sebastián, Gipuzkoa, Spain
>


-- 
----------------------------------------------------------------------------------------------------------------------------------------
Dr. Joaquim Jornet Somoza
Postdoctoral Researcher                      email:
[email protected]       tel:     0034 650 73 48 91
Theory Department
The Max Planck Institute for the Structure and Dynamics of Matter (MPSD)
Bldg. 99 (CFEL)
Luruper Chaussee 149
22761 Hamburg

Nano-Bio Spectroscopy group
Departamento de Física de Materiales
Universidad del País Vasco (UPV/EHU)
Donostia-San Sebastián, Gipuzkoa, Spain

Reply via email to