The line you've added to .bashrc just appends the directory '${HOME}/SUmb_2/mdo_import_helpe' to the current Python path. So that shouldn't break anything as far as I can tell.
$PYTHONPATH is not a bash environmental variable. So, if you try to 'cd $PYTHONPATH' it's the same as just typing 'cd' (which is a shortcut to go to your $HOME directory) as $PYTHONPATH is null. You can test this by typing:
which won't return anything.
I have not used easy_install before myself, I don't know the specifics of the configuration file and where it installed modules by default. Perhaps someone with a little more experience would know. But, as it stands now, your $PYTHONPATH looks to be the standard $PYTHONPATH plus ${HOME}/SUmb_2/mdo_import_helper. If you want to check, launch python from the terminal and run these two commands:
Code:
import sys
print sys.path
Note, the syntax is a little different if you're running Python 3.
What you need to do is make sure the configuration of easy_installer is correct (to save future headaches!), find out where the petsc4py module was installed, and make sure that the location of that module is part of your $PYTHONPATH.
Hope that makes sense
Bookmarks