[sage-support] Re: Cython in jupyter notebook

2018-04-15 Thread Simon King
Hi Nils, On 2018-04-15, Nils Bruin wrote: > The quickest workaround for now is to just eliminate the whole error > redirection. We didn't have it before either. If you have control over the > distribution you use to teach, that might get you through your lecture. Indeed I'll

[sage-support] Re: Cython in jupyter notebook

2018-04-15 Thread Nils Bruin
Problems like this have been encountered before. This seems to work around problems in the other direction (i.e., let Jupyter deal with an actual file rather than one of its streams): https://stackoverflow.com/questions/34145950/is-there-a-way-to-redirect-stderr-to-file-in-jupyter The quickest

[sage-support] Re: Cython in jupyter notebook

2018-04-15 Thread Simon King
Hi Nils, On 2018-04-15, Nils Bruin wrote: > ... > where this code was committed: > > try: > # Capture errors from distutils and its child processes > with open(os.path.join(target_dir, name + ".err"), 'w+') as errfile: > try: > with

[sage-support] Re: Cython in jupyter notebook

2018-04-15 Thread Nils Bruin
On Sunday, April 15, 2018 at 7:11:06 AM UTC-7, Simon King wrote: > > Hi! > > The following cython code compiles fine in SageMath command line version > and it *used* to compile fine in the jupyter notebook one year ago: > > cython(""" > def mantisse(): > cdef double a = 1 > cdef

[sage-support] Cython in jupyter notebook

2018-04-15 Thread Simon King
Hi! The following cython code compiles fine in SageMath command line version and it *used* to compile fine in the jupyter notebook one year ago: cython(""" def mantisse(): cdef double a = 1 cdef double b = 2 cdef int i = 0 while True: a += b**(-i)

[sage-support] Re: from viewLatex import viewLatex

2018-04-15 Thread Henri Girard
Sorry for this one I found : There is latexViewer.py in git then no problem to import Le 15/04/2018 à 14:34, Henri Girard a écrit : Is there a way to install it on a local sagemath  and how to do it ? from viewLatex import viewLatex best Henri -- You received this message because you

[sage-support] from viewLatex import viewLatex

2018-04-15 Thread Henri Girard
Is there a way to install it on a local sagemath  and how to do it ? from viewLatex import viewLatex best Henri -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email

[sage-support] maxima in sage openmath

2018-04-15 Thread HG
HI, I tried this : maxima.plot2d('[cos(7*x),cos(23*x)^4,sin(13*x)^3]','[x,0,1]','[plot_format,openmath]'), but noting display in jupyter notebook ? Any help Henri -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this