Hi Aaron, Thanks a lot for your information. I ever saw your message posted in google site regarding this, but the message are posted some time ago (around January?), wondering, where I can find more information on this? Any special web sites on this topic? any open source project to make sympy workable on Jython or java? I could miss some points, but I could not find it. Thanks again for your nice response.
Raymond On Thursday, May 7, 2015 at 2:20:24 PM UTC-7, Aaron Meurer wrote: > > As far as I know, SymPy still does not work in Jython. > > Aaron Meurer > > On Thu, May 7, 2015 at 4:16 PM, Joachim Durchholz <[email protected] > <javascript:>> wrote: > > Am 07.05.2015 um 22:29 schrieb Raymond Gong: > >> > >> Hi Joachim, > >> > >> Thanks a lot for your nice response. Actually I am doing this, I just > >> replied to Ondrej's message on this, but I didn't run Jython testing > >> against sympy, I even don't know how to do it, > >> could you provide some more information or link on this? > > > > > > My approach to installing Jython (no doubt biased by my other Python > > workflows) would be (all done from the shell): > > - Use pythonz to download Jython > > - Use virtualenv to install it into a project directory > > (so the pythonz download stays unaltered for future experiments) > > - Use virtualenv to activate the Jython install > > - cd to the sympy directory and do the normal bin/isympy. > > > > This should install Jython and give you a first smoke test whether SymPy > is > > even able to start under Jython. If it doesn't, report the error > messages in > > whatever the bug tracker has for Jython and try some other approach > (unless > > the messages indicate very easily solved issues: the SymPy project may > > consider officially supporting Jython if it turns out to be little work > to > > keep it that way). > > > > Now if isympy can start, Ctrl-D out of isympy and try bin/test. > > If that reports no errors, or errors only for modules that don't > interest > > you anyway, Jython is a viable path. > > (Oh. If your project needs to remain executable in the future, you'll > also > > want that the SymPy project officially supports Jython.) > > > > Once this all is done, I'd start exploring how to call into Python code > from > > Java. > > Calling SymPy functions should be easy: They are all available in the > > "sympy" module. I.e. if you see "exp()" somewhere, it will be available > as > > "sympy.exp()". You do not need to worry which module defines a specific > > function; actually, those that do not make it into the "sympy" module > are > > not part of SymPy's public API and might go away in future SymPy > releases > > (you can still use them if you're willing to take the risk, Python > allows > > you to override all access restrictions at will). > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/sympy. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/sympy/554BD644.8050806%40durchholz.org. > > > > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/f79c7350-de77-450c-a1b0-3dfab435c667%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
