can't create package cache dir
Brought to you by:
red-robin
Running a jython script from eclipse brings the error:
*sys-package-mgr*: can't create package cache dir,
'/usr/share/jython/cachedir/packages'
That is to be expected, of course, as a normal user
does not have write access to system directories such
as /usr/share. Stand-alone jython on the command line
stores the cached packages in ~/.jython-cache/packages
Additional info:
System: Linux (Debian)
Jython version: 2.1
Jython home: /usr/share/jython
Logged In: YES
user_id=132590
Of course, adding
-Dpython.cachedir=${env_var:HOME}/.jython-cache
to the run configuration fixes this, but that should somehow
happen automatically.
The /usr/bin/jython script also includes additional
libraries that are otherwise missing.