I'm trying to run a simple python program on ubuntu server 12.04. However I get an import error for a module I've written. The module folder has an init.py folder in however python does not seem to find it giving the following error
user1@cl:~/git/p1/test$ ls
modules prog1.py
user1@cl:~/git/p1/test$ python prog1.py
Traceback (most recent call last):
File "prog1.py", line 8, in <module>
from modules import find
ImportError: No module named modules
From reading associated question it would appear I need to set a python path. Could anyone tell me exactly what files I need to modify, I've seen suggestions including .bashrc .bash_profile and .profile. And also what directory I need to point the path too. I'm not totally sure if this should be my home directory or the exact folder my program is in, or the folder the module is in.
Sorry if this is a very basic question I'm new to ubuntu