title: Python module import failure in Jenkins
body: <p>I have a project I'm trying to test and run on Jenkins. On my machine it works fine, but when I try to run it in Jenkins, it fails to find a module in the workspace.</p>
  
  <p>In the main workspace directory, I run the command:</p>
  
  <pre><code>python xtests/app_verify_auto.py
  </code></pre>
  
  <p>And get the error:</p>
  
  <pre><code>+ python /home/tomcat7/.jenkins/jobs/exit103/workspace/xtests/app_verify_auto.py
  
  Traceback (most recent call last):
  
    File "/home/tomcat7/.jenkins/jobs/exit103/workspace/xtests/app_verify_auto.py", line 19, in &lt;module&gt;
  
      import exit103.data.db as db
  
  ImportError: No module named exit103.data.db
  
  Build step 'Execute shell' marked build as failure
  
  Finished: FAILURE
  </code></pre>
  
  <p>The directory exit103/data exists in the workspace and is a correct path, but python can't seem to find it.</p>
  
  <p>This error exists both with and without virtualenv.</p>