Message215
When I include C:\Python2.0\Lib in the python.path registry entry on my WinNT machine, I get the following error on startup:
Jython 2.0alpha1 on java1.2.2 (JIT: symcjit)
Type "copyright", "credits" or "license" for more information.
error importing site
Traceback (innermost last):
File "c:\Python20\Lib\site.py", line 206, in ?
AttributeError: class 'org.python.modules.os' has no attribute '__file__'
This error is in the site.py line:
here = os.path.dirname(os.__file__)
Without the Python20\Lib in python.path, jython executes, but of course can't import any modules such as rexec or xml that aren't included in jython\Lib.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:45 | admin | link | issue223704 messages |
2008-02-20 17:16:45 | admin | create | |
|