|
[Rivet] rivet requires the 'rivet' Python moduleHendrik Hoeth hendrik.hoeth at cern.chTue Oct 19 10:48:30 BST 2010
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 -- One doesn't discover new lands without consenting to lose sight of the shore for a very long time. -- André Gide
More information about the Rivet mailing list |