|
[Rivet] The rivet Python module could not be loaded?Cheng Chen cheng.chen at cern.chTue Jan 24 10:24:47 GMT 2017
Hello all, I followed the prescription in https://rivet.hepforge.org/trac/wiki/GettingStarted to install the rivet in my lxplus session, however there is an error shows it cannot import the module correctly: [chenc at lxplus0107 rivet]$ rivet --help The rivet Python module could not be loaded: is your PYTHONPATH set correctly? Then I tried to "import rivet” directly on python, this shows a ImportError: >>> import rivet Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/afs/cern.ch/user/c/chenc/software/rivet/lib/python2.7/site-packages/rivet/__init__.py", line 12, in <module> from rivet.core import * ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /cvmfs/sft.cern.ch/lcg/releases/LCG_85/HepMC/2.06.09/x86_64-slc6-gcc49-opt/lib/libHepMC.so.4) And I listed my PATH info below: [chenc at lxplus0107 rivet]$ echo $PYTHONPATH /afs/cern.ch/user/c/chenc/software/rivet/lib/python2.7/site-packages:/afs/cern.ch/user/c/chenc/software/rivet/lib/python2.7/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/agile/1.2.0/i686-slc5-gcc43-opt/lib/python2.5/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/i686-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/agile/1.2.0/i686-slc5-gcc43-opt/lib/python2.5/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/i686-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/i686-slc5-gcc43-opt/lib/python2.6/site-packages: Could help me to found where the problem come from? BTW, I installed with the RIVET_VERSION=2.5.3 and YODA_VERSION=1.6.6. Is it possible the problem is related to the version I installed? Thanks for your help Cheng -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20170124/3d7d2cab/attachment.html>
More information about the Rivet mailing list |