<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello all,<br class="">
<br class="">
I followed the prescription in <a href="https://rivet.hepforge.org/trac/wiki/GettingStarted" class="">https://rivet.hepforge.org/trac/wiki/GettingStarted</a> to install the rivet in my lxplus session, however there is an error shows it cannot import the module
 correctly:<br class="">
<br class="">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><font color="#919191" class="">[chenc@lxplus0107 rivet]$ rivet --help<br class="">
</font><font color="#919191" class="">The rivet Python module could not be loaded: is your PYTHONPATH set correctly?</font></blockquote>
<br class="">
Then I tried to "import rivet” directly on python, this shows a ImportError:<br class="">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><br class="">
<font color="#919191" class="">>>> import rivet<br class="">
</font><font color="#919191" class="">Traceback (most recent call last):<br class="">
</font><font color="#919191" class="">  File "<stdin>", line 1, in <module><br class="">
</font><font color="#919191" class="">  File "/afs/cern.ch/user/c/chenc/software/rivet/lib/python2.7/site-packages/rivet/__init__.py", line 12, in <module><br class="">
</font><font color="#919191" class="">    from rivet.core import *<br class="">
</font><font color="#919191" class="">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)</font></blockquote>
<br class="">
<br class="">
And I listed my PATH info below:<br class="">
<br class="">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><font color="#919191" class="">[chenc@lxplus0107 rivet]$ echo $PYTHONPATH<br class="">
/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:</font></blockquote>
<div class=""><br class="">
</div>
<div class="">Could help me to found where the problem come from? </div>
<div class="">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?</div>
<div class=""><br class="">
</div>
Thanks for your help
<div class="">Cheng<br class="">
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span></div>
</div>
</body>
</html>