Step 1: Add <BrainVISA_Installation_Path>/python into your $PYTHONPATH
Step 2: Add <BrainVISA_Installation_Path>/lib into your $LD_LIBRARY_PATH
Step 3: Add <BrainVISA_Installation_Path>/share into your $BRAINVISA_SHARE
For example, in my ~/.bashrc, i have these two lines:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/forrest/bin/brainvisa4/lib export PYTHONPATH=$PYTHONPATH:/home/forrest/bin/brainvisa4/python export BRAINVISA_SHARE=/home/forrest/bin/brainvisa4/share
Update at 2011-08-18:
If you still get errors (e.g., segmentation fault) after the configuration above, try the Python interpreter at
<BrainVISA_Installation_Path>/bin
instead of your system Python interpreter.
No comments:
Post a Comment