It's Python 2.7.5 |Anaconda 1.6.2 (64-bit)| (default, Jul 1 2013, 12:37:52) [MSC v.1500 64 bit (AMD64)]
Thanks for your help, I'll see tomorrow if can pull such branch and build it best, R PS: for now, I can still work in the notebook and set use_latex to True, though. El martes, 20 de agosto de 2013 19:21:04 UTC-4, Aaron Meurer escribió: > > What version of Python are you using? I just found a bug that prevents > the png formatter from working in Python 3 (which is fixed at > https://github.com/sympy/sympy/pull/2398). > > I just pushed a branch that adds some debug calls, if you want to try > it out. To use it, you have to set the SYMPY_DEBUG environment > variable to "1" (you can do this from within Python by calling > > import os > os.environ['SYMPY_DEBUG'] = '1' > > before importing sympy (doing it before you import sympy is important, > because sympy checks this at import time). > > Let me know if you want help in getting the code from the pull > request. I would just build a conda package for you, but I don't have > access to a Windows machine to build it on. > > Aaron Meurer > > On Tue, Aug 20, 2013 at 4:36 PM, Ricardo Mayer > <[email protected]<javascript:>> > wrote: > > Thanks! > > > > I'm in Windows 7 64bit and I'm starting the qtconsole and the notebook > from > > Anaconda's Launcher program. > > > > I did a conda install -f sympy and conda install -f ipython. > > > > Mmmm after it, I still have the same problem with the ipython qtconsole > > (even after setting use_latex to 'png', 'matplotlib', or 'mathjax' or > True) > > (could it be a problem with 'untested Qt 6.2'?) > > > > But .... it's *different* in the notebook: init_printing() now gives > correct > > latex rendering and if I set use_latex to 'png', 'matplotlib', or > 'mathjax' > > then I'm back to the ugly display (sorry, ascii). > > > > R > > > > > > > > > > On Tue, Aug 20, 2013 at 6:19 PM, Aaron Meurer > > <[email protected]<javascript:>> > wrote: > >> > >> This is a bug then. I can't reproduce it. It's possible that your > >> installation is broken. You can try conda install -f sympy and conda > >> install -f ipython. > >> > >> This is the code that automatically enables latex in the notebook > >> > >> > https://github.com/sympy/sympy/blob/master/sympy/interactive/printing.py#L278. > > > >> It seems like it should work. > >> > >> What operating system are you on? How are you starting the IPython > >> notebook? > >> > >> Also, what happens if you set use_latex to 'png', 'matplotlib', or > >> 'mathjax'. > >> > >> We should enable debugging here. > >> > >> Aaron Meurer > >> > >> On Tue, Aug 20, 2013 at 3:57 PM, Ricardo Mayer > >> <[email protected]<javascript:>> > > >> wrote: > >> > Yes, I'm sure ... or at least 'conda search sympy' says so :-) > >> > > >> > Oh, BTW, I'm using Ipython 1.0.0 (and sympy 0.7.3) > >> > > >> > I tried ipython 0.13.2 with sympy 0.7..2 and the problem does *not* > >> > occur > >> > > >> > > >> > > >> > El martes, 20 de agosto de 2013 17:11:09 UTC-4, Aaron Meurer > escribió: > >> >> > >> >> That's a bug then. Are you sure you are using SymPy 0.7.3? There > were > >> >> some > >> >> issues with this in the previous version. > >> >> > >> >> Aaron Meurer > >> >> > >> >> > >> >> On Tuesday, August 20, 2013, Ricardo Mayer wrote: > >> >>> > >> >>> Thank you, Aaron. > >> >>> > >> >>> I did tried it ipython (notebook and qt console) and calling > >> >>> init_printing() there does not enable latex (formulas were rendered > in > >> >>> ascii > >> >>> characters). I had to pass the argument 'use_latex=True' > explicitly. > >> >>> > >> >>> > >> >>> > >> >>> El martes, 20 de agosto de 2013 14:21:02 UTC-4, Aaron Meurer > escribió: > >> >>>> > >> >>>> The default is to use latex, but only in environments that support > >> >>>> it, > >> >>>> namely the IPython notebook or the ipython qtconsole of you have > >> >>>> latex or > >> >>>> matplotlib installed. See the printing section of the tutorial. > >> >>>> > >> >>>> If it's not enabling latex for you in those environments, that's a > >> >>>> bug. > >> >>>> > >> >>>> Aaron Meurer > >> >>>> > >> >>>> On Aug 20, 2013, at 8:07 AM, Ricardo Mayer <[email protected]> > >> >>>> wrote: > >> >>>> > >> >>>> Dear all, > >> >>>> > >> >>>> is it just me or it seems that init_printing() does NOT invoke > >> >>>> use_latex=True by default? It apparently causes not-so-pretty > ascii > >> >>>> output > >> >>>> to appear in the documentation, as in > >> >>>> > >> >>>> http://docs.sympy.org/0.7.3/tutorial/intro.html > >> >>>> > >> >>>> Maybe that page should be change to replace calls of > init_printing() > >> >>>> with init_printing(use_latex=True) ? (or maybe change the current > >> >>>> default > >> >>>> behaviour of init_printing) > >> >>>> > >> >>>> thanks, > >> >>>> R > >> >>>> > >> >>>> -- > >> >>>> 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. > >> >>>> For more options, visit https://groups.google.com/groups/opt_out. > >> >>> > >> >>> -- > >> >>> 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. > >> >>> For more options, visit https://groups.google.com/groups/opt_out. > >> > > >> > -- > >> > 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. > >> > For more options, visit https://groups.google.com/groups/opt_out. > >> > >> -- > >> You received this message because you are subscribed to a topic in the > >> Google Groups "sympy" group. > >> To unsubscribe from this topic, visit > >> https://groups.google.com/d/topic/sympy/UkykJaifnZs/unsubscribe. > >> To unsubscribe from this group and all its topics, 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. > >> For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > > 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. > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
