<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
Hi Hannes,<br>
<br>
maybe you can try to add the python-bin directory in $PATH ...<br>
<br>
Cheers,<br>
Albert<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/05/14 11:53, Hannes Jung wrote:<br>
</div>
<blockquote cite="mid:7DF11B82-D145-4C6D-8FE4-7A82A8755E5F@desy.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="BodyFragment"><font size="2"><span
style="font-size:10pt;">
<div class="PlainText">Hi Andy<br>
<br>
thanks a lot for your fast reply:<br>
here is what I get:<br>
<br>
~/jung/cvs/rivet2> source rivetenv.sh<br>
~/jung/cvs/rivet2> python<br>
Python 2.7.5 (default, Aug 25 2013, 00:04:04) <br>
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on
darwin<br>
Type "help", "copyright", "credits" or "license" for more
information.<br>
>>> import rivet<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
File
"/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/__init__.py",
line 12, in <module><br>
from rivet.core import *<br>
ImportError:
dlopen(/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/core.so,
10): Symbol not found:
__ZN5Rivet14AnalysisLoader11getAnalysisERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE<br>
Referenced from:
/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/core.so<br>
Expected in: flat namespace<br>
in
/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/core.so<br>
>>> <br>
<br>
Attached are the other files<br>
<br>
thanks a lot<br>
Cheers<br>
Hannes<br>
<br>
<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span
style="font-size:10pt;">
<div class="PlainText"><br>
<br>
On 08.05.2014, at 11:45, Andy Buckley
<a class="moz-txt-link-rfc2396E" href="mailto:andy.buckley@cern.ch"><andy.buckley@cern.ch></a> wrote:<br>
<br>
> Hi Hannes,<br>
> <br>
> Can you try opening a Python session (just run
"python") and then try<br>
> "import rivet" and send us the output? That might
help us to understand<br>
> what is happening in detail, since the error message
you are getting is<br>
> a sanitised version that we write out when we detect
an import error.<br>
> <br>
> I've attached a script to run, which will dump out a
lot of system<br>
> information that could help us: can you run it like
"sh sysdebug.sh ><br>
> sysdebug.txt" and send us the sysdebug.txt file? It
would also help if<br>
> you could attach / paste your rivetenv.sh file.<br>
> <br>
> Hopefully we can get it working for you soon!<br>
> <br>
> Andy<br>
> <br>
> <br>
> On 08/05/14 07:00, Hannes Jung wrote:<br>
>> Dear Rivet experts<br>
>> <br>
>> was trying to install Rivet2 using the bootstrap<br>
>> script on a Mac with Mavericks.<br>
>> The installation worked, no errors, but then<br>
>> <br>
>> ~/jung/cvs/rivet2> <br>
>> ~/jung/cvs/rivet2> ls<br>
>> bin build include lib rivetenv.csh
rivetenv.sh share yodaenv.sh<br>
>> ~/jung/cvs/rivet2> source rivetenv.sh <br>
>> ~/jung/cvs/rivet2> rivet --help<br>
>> The rivet Python module could not be loaded: is
your PYTHONPATH set correctly?<br>
>> ~/jung/cvs/rivet2> echo $PYTHONPATH<br>
>>
/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages:/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages:/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages:/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages:/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages:<br>
>> ~/jung/cvs/rivet2> python --version<br>
>> Python 2.7.5<br>
>> <br>
>> <br>
>> Any idea what is wrong with the PYTHONPATH ?<br>
>> <br>
>> Thanks a lot<br>
>> Cheers<br>
>> Hannes<br>
>> <br>
>> <br>
>> <br>
>>
***********************************************************************<br>
>> Hannes Jung <br>
>> Email: <a class="moz-txt-link-abbreviated" href="mailto:Hannes.Jung@desy.de">Hannes.Jung@desy.de</a> <br>
>> mobile :+49 40 8998 93741<br>
>> <a moz-do-not-send="true"
href="http://www.desy.de/%7Ejung">http://www.desy.de/~jung</a>
<br>
>> Tel: +49 (0) 40 8998 3741 <br>
>> Fax: +49 (0) 40 8994 3741<br>
>> DESY, CMS 01B/02.213<br>
>> Notkestr.85, 22603 Hamburg, FRG <br>
>>
***********************************************************************<br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> Rivet mailing list<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a><br>
>> <a moz-do-not-send="true"
href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a><br>
>> <br>
> <br>
> <br>
> -- <br>
> Dr Andy Buckley, Royal Society University Research
Fellow<br>
> Particle Physics Expt Group, University of Glasgow /
PH Dept, CERN<br>
> <sysdebug.sh><br>
<br>
***********************************************************************<br>
Hannes Jung <br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:Hannes.Jung@desy.de">Hannes.Jung@desy.de</a> <br>
mobile :+49 40 8998 93741<br>
<a moz-do-not-send="true"
href="http://www.desy.de/%7Ejung">http://www.desy.de/~jung</a>
<br>
Tel: +49 (0) 40 8998 3741 <br>
Fax: +49 (0) 40 8994 3741<br>
DESY, CMS 01B/02.213<br>
Notkestr.85, 22603 Hamburg, FRG <br>
***********************************************************************<br>
<br>
<br>
<br>
<br>
<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span
style="font-size:10pt;">
<div class="PlainText">_______________________________________________<br>
Rivet mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a><br>
<a moz-do-not-send="true"
href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a><br>
</div>
</span></font></div>
</blockquote>
<br>
</body>
</html>