I have a python module at /home/amit/folder1/folder2/folder3/folder4/folder5/nbsearch named neighbourhoodsearch.py. I have included a class in this file in another module at /home/amit/folder1/folder2/folder3/folder4/controller named nbsearch_controller.py. 
from neighbourhoodsearch import NeighbourhoodSearch
I have added the path /home/amit/folder1/folder2/folder3/folder4/folder5/nbsearch to PYTHONPATH using sys.path.append and added a file __init__.py in all the folders in the path. But still when I run the file nbsearch_controller.py, it says 
ImportError: No module named neighbourhoodsearch
 
     
     
     
    