I've just tried it in CoCalc Jupyter notebook - you have to have explicit print command there. I am strongly in favour of maintaining this consistency, when it results from doing nothing on SageMathCell side. Such an approach results in fewer problems down the road ;-)
On Monday, 21 March 2022 at 10:09:27 UTC-6 Andrey Novoseltsev wrote: > It seems like an info message rather than error and the command proceeds. > Do you want the message to be gone, or you actually need some colors? > > As for using print etc, did it use to behave differently? When? > > SageMathCell does not do any special handling for Cython - your command is > fed into Jupyter kernel for Python, which then processes the magic command. > So at the moment I think that things work as expected, but if something > else is highly desired, we may try to work on it. > > Andrey > > On Monday, 21 March 2022 at 08:23:27 UTC-6 kcrisman wrote: > >> Hi all, >> >> I got an interesting and new (to me) error today. >> >> "INFO: Disabling color, you really want to install colorlog. " >> >> See https://sagecell.sagemath.org/?q=lrgkbk >> >> I couldn't even get the result here without using "print()", so maybe >> something has changed in Sage/Sage cell regarding Cython usage, so my >> apologies if this is user error. But thought it should be reported, at >> least, since I couldn't find that error in a search of the sage-cell Google >> group. >> >> - kcrisman >> > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/a29ebeec-f799-4d44-8c44-c34044005db4n%40googlegroups.com.
