title: Jython 2.5.1: "ImportError: No Module named os"
body: <p>I looked through the other posts and bug reports and couldn't figure out what's causing this. I'm using Jython 2.5.1, in a Java project in Eclipse (Ubuntu 8.10). It has been added to the project as a standalone .jar file (I just replaced the old Jython 2.1 jar with this one).</p>
  
  <p>I'm running a script that uses the threading.py class. At some point the statement "import os" is evaluated from linecache.py and I get this error, which I can't seem to figure out how to fix: </p>
  
  <pre><code>'Execution failed.  Traceback (most recent call last):
   File "&lt;string&gt;", line 1, in &lt;module&gt;
   File "../lib/python/threading.py", line 6, in &lt;module&gt;
   import traceback
   File "../lib/python/traceback.py", line 3, in &lt;module&gt;
   import linecache
   File "../lib/python/linecache.py", line 9, in &lt;module&gt;
   import os
   ImportError: No module named os'
  </code></pre>