CoEPP RC
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
grid:faq [2013/07/16 10:54]
lucien
grid:faq [2014/12/30 10:55]
goncalo [Grid FAQ]
Line 1: Line 1:
 ====== Grid FAQ ====== ====== Grid FAQ ======
 +===== numpy not found =====
  
  
 +Hi Guys...
 +
 +As I've discussed with Kevin, the issue is not that numpy is not installed, but the fact that you guys
 +are doing localSetupROOT. This fetches python 2.7.4-x86_64-slc6-gcc48,​ which has no numpy installed by default
 +in CVMFS.
 +
 +$ python
 +Python 2.7.4 (default, May  5 2013, 17:33:10)
 +[GCC 4.8.0] on linux2
 +Type "​help",​ "​copyright",​ "​credits"​ or "​license"​ for more information.
 +>>>​ import numpy
 +Traceback (most recent call last):
 +  File "<​stdin>",​ line 1, in <​module>​
 +ImportError:​ No module named numpy
 +
 +
 +The solution is to use localSetupSFT ​ (this sets up the ATLAS environment for LCG externals packages) to set up all
 +other python analysis tools that you need for your current python version. That is with the following option:
 +
 +$ localSetupSFT pyanalysis/​1.4_python2.7
 +************************************************************************
 +  Current GCC version: gcc (GCC) 4.8.1
 +  Python version in your path is 2.7
 +Setting up pyanalysis 1.4_python2.7 ...
 + The env $SFT_HOME_pyanalysis is the home dir
 +************************************************************************
 +
 +$ python
 +Python 2.7.4 (default, May  5 2013, 17:33:10)
 +[GCC 4.8.0] on linux2
 +Type "​help",​ "​copyright",​ "​credits"​ or "​license"​ for more information.
 +>>>​ import numpy
 +>>>​
 +
 +Cheers
 +Goncalo
 ===== Your build job fails (and all other jobs are cancelled) ===== ===== Your build job fails (and all other jobs are cancelled) =====
  
grid/faq.txt · Last modified: 2014/12/30 11:04 by goncalo
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki