Mar 4, 2015

Configure Python with VTK

export PYTHONPATH=$PYTHONPATH:/home/uma/software/VTK-6.1.0/Wrapping/Python:/home/uma/software/VTK-6.1.0/Wrapping/Python/vtk:/home/uma/software/VTK-6.1.0/bin

Find bashrc in Ubuntu

Do a:
ls -la ~/ | more
There should be a .bashrc on the first page. If not just create it with:
vi ~/.bashrc
and add in the lines you need to add into it.
Permissions of my .bashrc are:
-rw-r--r--  1 discworld discworld  3330 Mar 10 16:03 .bashrc
(chmod 644 .bashrc to make it rw r r).

Followers