Hey folks, I've been trying to figure this out for the past couple of
days and had no luck. I'm running the following script from Java via
the PythonInterpreter (using Eclipse & Jython 2.5.1). I have added
the standalone Jython jar file to my project as a library.
Running this script:
print "hello, world"
t = Timer(2.0, hello)
Gives me the following error:
'Execution failed. Traceback (most recent call
File "<string>", line 1, in <module>
File "../lib/python/threading.py", line 6, in <module>
File "../lib/python/traceback.py", line 3, in <module>
File "../lib/python/linecache.py", line 9, in <module>
File "../lib/python/os.py", line 132, in <module>
from os.path import curdir, pardir, sep, pathsep, defpath, extsep,
ImportError: cannot import name curdir'
I have no idea why I'm getting this message.