Python modules not found over terminal but on python shell, Linux
It seems that your Python shell uses a diffenrent PYTHONPATH than the python you execute in the terminal. You can verify that by typing
import sys
print sys.path
in both shells and comparing the two outputs. I assume that the installed module path(s) are missing in the output of the python started in the terminal.
you can solve this by defining a PYTHONPATH in your shell:
export PYTHONPATH=...
... means all paths of the python shell's output separated by :
Don't use spaces. If there spaces in one of the paths, surround ... with quotes
export PYTHONPATH="path with spaces:other path:path
"
Start python from that terminal where you entered the export command. Try to import your modules. If it works, make the export permanent by appending it in your .profile located in your home directory.
ls -a $HOME
shows the file (and many others ;-). It is a .file. .files are hidden on a simple ls.