[vmtk-users] VMTK installation error again
Brought to you by:
davidsteinman,
lucantiga
From: Vikram M. <vv...@gm...> - 2010-10-26 14:00:50
|
Hello, Regarding your reply, I managed to get added onto the sudo list to execute the 'sudo make install' list. The Cmake error was no longer showing. But this time the error is again : Traceback (most recent call last): File "./vmtk", line 4, in <module> from vmtk import pypes File "/home/vm308/src/vmtk-0.9.0/vmtk.py", line 4, in <module> from vmtk import pypes ImportError: cannot import name pypes On the installation pages of vmtk, I think this is the next step : - Set a couple of environment variables. For Bash users, type the lines below or add them to your .bash_profile or .bashrc file (the difference is that with .bash_profile you have to logout and login back again for them to have an effect, and it may not work when logging in from graphical login managers; on the other side, .bashrc is read everytime a user opens up a terminal, so it's executed more often but it's safer). LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vmtk export LD_LIBRARY_PATH PYTHONPATH=$PYTHONPATH:/usr/local/lib/vmtk export PYTHONPATH - Also, don't forget to also add the paths to the ITK shared libraries LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/InsightToolkit export LD_LIBRARY_PATH * Starting with VTK 5.3, don't forget to also add the paths to the VTK shared libraries LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk-5.3 export LD_LIBRARY_PATH But could someone explain stepwise how to go through this since I am new to Linux and cant seem to work around the bash profile. Also, how do you add the above paths to the ITK and VTK shared libraries ? Please help. Vikram. |