|
[Rivet] rivet requires the 'rivet' Python moduleAlbert Knutsson albert.knutsson at desy.deTue Oct 19 11:17:49 BST 2010
Hi Hendrik, thanks. Yes, something seems to be wrong here: % python Python 2.4.3 (#1, Sep 4 2009, 16:48:22) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import rivet Traceback (most recent call last): File "<stdin>", line 1, in ? File "/build/knutsson/testBuild/tmp/slc5_ia32_gcc434/external/Rivet/1.3.0/lib/python2.6/site-packages/rivet/__init__.py", line 16, in ? from rivetwrap import * File "/build/knutsson/testBuild/tmp/slc5_ia32_gcc434/external/Rivet/1.3.0/lib/python2.6/site-packages/rivet/rivetwrap.py", line 28, in ? import _rivetwrap ImportError: /build/knutsson/testBuild/tmp/slc5_ia32_gcc434/external/Rivet/1.3.0/lib/python2.6/site-packages/rivet/_rivetwrap.so: wrong ELF class: ELFCLASS32 Suggestion? Cheers, Albert On 10/19/10 11:48 AM, Hendrik Hoeth wrote: > Hi Albert, > >> % rivet --list-analyses >> rivet requires the 'rivet' Python module > Try "import rivet" in a python shell. What's the result? Is your > PYTHONPATH set correctly (pointing to the directory containing a > subdirectory "rivet" with files like _rivetwrap.so)? > >> My guess would be that I just need to add the right path to the >> rivetenv.sh. I have guessed a bit and kept adding pathes, but without >> success. What files am I looking for? Which directory should it be in >> and which variable should I add it to ($PATH/$PYTHONPATH/$LD... etc)? > rivetenv.sh should be correct after installation. Nevertheless, here are > the paths: > > PATH: $YOURINSTALLPREFIX/bin > LD_LIBRARY_PATH: $YOURINSTALLPREFIX/lib > PYTHONPATH: $YOURINSTALLPREFIX/lib64/python2.5/site-packages > > You might need to change lib64 to lib in the PYTHONPATH. > > HTH, > > Hendrik >
More information about the Rivet mailing list |