title: Python 2.7.9: Unable to import from module
body: <p>I have a directory structure that looks like this: </p>
  
  <pre><code>Project
  |+-- test.py
  |
  +&gt;&gt; agents
  |  +-- __init__.py
  |  +-- TestAgent.py
  |    
  +&gt;&gt; automation
  |  +-- __init__.py
  |  |
  |  +&gt;&gt; navigators
  |      +--__init__.py
  |      +--SystemNavigator.py 
  </code></pre>
  
  <p>Inside _ _ init _ _.py under agents I have the following code:</p>
  
  <pre><code>from TestAgent import TestAgent
  </code></pre>
  
  <p>And inside SystemNavigator I have:</p>
  
  <pre><code>from agents import TestAgent
  </code></pre>
  
  <p>When I attempt to run the program, I get:</p>
  
  <pre><code>Traceback (most recent call last):
  File "test.py", line 1, in &lt;module&gt;
  from navigators import SystemNavigator
  File "/Users/jb/Desktop/code/tools/pythontest/automation/navigators/__init__.py", line 1, in &lt;module&gt;
  from SystemNavigator import SystemNavigator
  File "/Users/jb/Desktop/code/tools/pythontest/automation/navigators/SystemNavigator.py", line 1, in &lt;module&gt;
  from agents import TestAgent
  ImportError: No module named agents
  </code></pre>
  
  <p>I setup an identical file structure in a separate directory to double check, and I was able to get this working there. I read around Stack Overflow and elsewhere. I'd like to avoid any changes to sys.path or changes to my directory structure. Based on others suggestions, I tried deleting .pyc files within the directory and also deleting / recreating the _ _ init _ _.py under agents. </p>
  
  <p>Does anyone have advice on where I should look next to troubleshoot? I'd really appreciate it!</p>