From: <sp...@is...> - 2001-11-26 08:27:35
|
Hi again Robert! >> Has anybody >> any idea on how to solve this? > > Specify python.home (The directory that contains Jython's "Lib"=20 > directory) > with the -D switch (you can add this to the Jython startup script- > jython.bat on windows, jython on *nix). Here's an example of the = switch > > -Dpython.home=3D/path/to/jython > > If python.home is not set propertly, Jython cannot read the registry=20= > file > for additional settings and will not find it's Lib directory. If the > Jython.jar file has not moved from its installed location, it can = figure > things out on its own; otherwise, you must give jython hints as to how=20= > to > find its Lib directory. Setting python.home is best. You can also > explicitly add paths to sys.path in scripts (not a great way to go). I have actually solved my problems by calling "sys.path.add(...)". With=20= this command erverything went fine. I think I have just misunderstood=20 the use of the java properties "sys.path", etc. Thanks :) -- S=E9bastien. |