Jython on Red Hat 8

Erik Max Francis max at alcyone.com
Mon Dec 16 02:52:40 EST 2002


"David M. Cook" wrote:

> *sys-package-mgr*: can't create package cache dir,
> '/usr/local/jython-2.1/cachedir/packages'
> Jython 2.1 on java1.4.1_01 (JIT: null)
> >>> import java
> Traceback (innermost last):
>   File "<console>", line 1, in ?
>   ImportError: no module named java

Try running jython once as root so it can create the cache directories. 
That explains the cache dir error; I'm presuming the inability to import
the java module is related to that.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Do we really want to go to Mars / Do we really want to try
\__/ Cassandra Wilson
    CSBuddy / http://www.alcyone.com/pyos/csbuddy/
 A Counter-Strike server log file monitor in Python.



More information about the Python-list mailing list