Hello Jens,

thanks for your answer. Please find the easybuild file attached. It is the same 
as available in the repositories. I also attached the log file. In this case he 
is not able to sanity check pandas correctly. It is pretty long, interesting 
are the lines starting with 'ImportError'.

This happens when I have local python package installations with 'pip install 
<package> --user'. At least when I have installations in .local/lib. Up to now 
I saw 'numpy' and 'pandas' causing trouble, I don't know for the others. For 
some reason he ignores the PYTHONPATH during sanity check and tries to import 
from the wrong location.

Cheers,
  Oliver





________________________________
From: [email protected] [[email protected]] on 
behalf of Jens Timmerman [[email protected]]
Sent: Wednesday, July 08, 2015 1:41 PM
To: [email protected]
Subject: Re: [easybuild] Local installation of Python packages

Dear Oliver

On 08/07/15 10:06, Stolpe, Oliver wrote:
Hello mailinglist,

I noticed when I compile Python (with some additional packages) that easybuild 
runs into troubles during sanity check. I realized that I have local 
installations of some python packages (in ~/.local/lib). I have a different 
spot for easybuild to install software to. But during sanity check it tries to 
load the packages from the local installation and crashes. It works when I 
remove all locally installed python packages. Can I teach easybuild to use the 
correct modules during sanity check?

Any help is appreciated!
Can you tell us what easyconfig you're using when you're seeing this behaviour?
and possibly upload/attach the easybuild debug log somewhere.

Regards,
Jens Timmerman

Attachment: Python-2.7.9-foss-2015a.eb
Description: Python-2.7.9-foss-2015a.eb

Attachment: easybuild-Python-2.7.9-20150703.181255.LqdrH.log.gz
Description: easybuild-Python-2.7.9-20150703.181255.LqdrH.log.gz

Reply via email to