From: Matthew <coc...@sb...> - 2005-02-07 14:10:16
|
Now, that you mention it ,the docutils README does say Python 2.2 or later [1]_ is required; Python 2.2.2 or later is recommended. so that must be it. FYI, when i try to run "%jython rst2html.py" I get the same error noting that package "core" cannot be found. Still not entirely sure how that fits into things. I'm really just looking to be able to use some of the most basic docutils capabilities from Java, so as time permits, I'll see if I can't find out which older versions of docutils will work with python 2.1 or lower and get back with everyone, just in case anyone else wants to do this before jython 2.2 is out--which should be compatible with python 2.1, I take it--which there is not tentative release time yet? I noticed there's an alpha package, but am (obviously) new to this whole community. Thanks again for helping me to recognize what's going on here. Matthew On Feb 7, 2005, at 5:43 AM, Kent Johnson wrote: > Matthew wrote: >> Hello, >> I was hoping to get a bit of guidance. I've done quite a bit Java >> programming but not so much Python, so I suspect my problem is rather >> simple one, although it doesn't seem that way to me. >> I've downloaded the DocUtils for python and successfully run the >> examples on my machine, so I know they're running and Python is OK. > > Have you tried running DocUtils using *jython*? You can do this > without compiling DocUtils, just run from the .py files. > > I tried this with jython 2.1 and docutils-0.3.5 and find that docutils > uses optparse which is not part of jython. > > Jython implements Python 2.1 so any modules that need features from > Python >= 2.2 won't work with Jython. > > Kent > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |