|
[Rivet] rivet2 installation on Mac MavericksHannes Jung hannes.jung at desy.deThu May 8 10:53:40 BST 2014
Hi Andy thanks a lot for your fast reply: here is what I get: ~/jung/cvs/rivet2> source rivetenv.sh ~/jung/cvs/rivet2> python Python 2.7.5 (default, Aug 25 2013, 00:04:04) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import rivet Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/__init__.py", line 12, in <module> from rivet.core import * 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 Referenced from: /Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/core.so Expected in: flat namespace in /Users/jung/jung/cvs/rivet2/lib/python2.7/site-packages/rivet/core.so >>> Attached are the other files thanks a lot Cheers Hannes -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sysdebug.txt URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140508/43c8c533/attachment.txt> -------------- next part -------------- A non-text attachment was scrubbed... Name: rivetenv.sh Type: application/octet-stream Size: 1363 bytes Desc: not available URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140508/43c8c533/attachment.obj> -------------- next part -------------- On 08.05.2014, at 11:45, Andy Buckley <andy.buckley at cern.ch> wrote: > Hi Hannes, > > Can you try opening a Python session (just run "python") and then try > "import rivet" and send us the output? That might help us to understand > what is happening in detail, since the error message you are getting is > a sanitised version that we write out when we detect an import error. > > I've attached a script to run, which will dump out a lot of system > information that could help us: can you run it like "sh sysdebug.sh > > sysdebug.txt" and send us the sysdebug.txt file? It would also help if > you could attach / paste your rivetenv.sh file. > > Hopefully we can get it working for you soon! > > Andy > > > On 08/05/14 07:00, Hannes Jung wrote: >> Dear Rivet experts >> >> was trying to install Rivet2 using the bootstrap >> script on a Mac with Mavericks. >> The installation worked, no errors, but then >> >> ~/jung/cvs/rivet2> >> ~/jung/cvs/rivet2> ls >> bin build include lib rivetenv.csh rivetenv.sh share yodaenv.sh >> ~/jung/cvs/rivet2> source rivetenv.sh >> ~/jung/cvs/rivet2> rivet --help >> The rivet Python module could not be loaded: is your PYTHONPATH set correctly? >> ~/jung/cvs/rivet2> echo $PYTHONPATH >> /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: >> ~/jung/cvs/rivet2> python --version >> Python 2.7.5 >> >> >> Any idea what is wrong with the PYTHONPATH ? >> >> Thanks a lot >> Cheers >> Hannes >> >> >> >> *********************************************************************** >> Hannes Jung >> Email: Hannes.Jung at desy.de >> mobile :+49 40 8998 93741 >> http://www.desy.de/~jung >> Tel: +49 (0) 40 8998 3741 >> Fax: +49 (0) 40 8994 3741 >> DESY, CMS 01B/02.213 >> Notkestr.85, 22603 Hamburg, FRG >> *********************************************************************** >> >> >> >> >> >> _______________________________________________ >> Rivet mailing list >> Rivet at projects.hepforge.org >> https://www.hepforge.org/lists/listinfo/rivet >> > > > -- > Dr Andy Buckley, Royal Society University Research Fellow > Particle Physics Expt Group, University of Glasgow / PH Dept, CERN > <sysdebug.sh> *********************************************************************** Hannes Jung Email: Hannes.Jung at desy.de mobile :+49 40 8998 93741 http://www.desy.de/~jung Tel: +49 (0) 40 8998 3741 Fax: +49 (0) 40 8994 3741 DESY, CMS 01B/02.213 Notkestr.85, 22603 Hamburg, FRG ***********************************************************************
More information about the Rivet mailing list |