Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread Kolen Cheung
I have the command line tool. I use `brew cask install sage` and it finishes download without proceeding. It is possible the formula in caskroom need to be updated though. But the problem is that I can't get it work even on the Linux installation where everything else' fine so far, except

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread John H Palmieri
On Saturday, November 17, 2018 at 7:24:58 PM UTC-8, Kolen Cheung wrote: > > I couldn't install sage on macOS Mojave, I'm guessing it isn't compatible > with Mojave yet. > My message said that I had installed it on OS X 10.14.1, which is Mojave. You need to have Xcode installed with the

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread Kolen Cheung
I couldn't install sage on macOS Mojave, I'm guessing it isn't compatible with Mojave yet. Currently it's like this: on an ArchLinux machine, install sage through pacman, and install the sagemath kernel to my jupyterlab hub. And then through the jupyterlab-hub I remote it and use the sagemath

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread John H Palmieri
This is on OS X? How did you install Sage? (It works for me with Sage built from scratch on both OS X 10.13.6 and OS X 10.14.1.) John On Saturday, November 17, 2018 at 5:32:34 PM UTC-8, Kolen Cheung wrote: > > I tried both > > plot3d(sin(pi * sqrt(x**2 + y**2)) / sqrt(x**2 + y**2), (x, -5,

[sage-support] Documentation on using sage as a library?

2018-11-17 Thread Kolen Cheung
Hi, many of the texts and documentations assume one is using the SageMath kernel. So far I see one FAQ address using sage as a library. But using sage as a library would certainly has a different behavior with sage itself. e.g. Rational('3 / 2') rather than 3 / 2, and displaying in latex

Re: [sage-support] Sage Crash Report

2018-11-17 Thread Kolen Cheung
sage ~ ❯❯❯ ls -alh /home/sage/.conda/envs/sage/lib/python3.6/site-packages/sage/matrix/../../../../libgd.so.3 lrwxrwxrwx 1 sage sage 14 Nov 17 17:34 /home/sage/.conda/envs/sage/lib/python3.6/site-packages/sage/matrix/../../../../libgd.so.3 -> libgd.so.3.0.5 sage ~ ❯❯❯ ldd

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread Kolen Cheung
I tried both plot3d(sin(pi * sqrt(x**2 + y**2)) / sqrt(x**2 + y**2), (x, -5, 5), (y, -5, 5), viewer='threejs') ... p1 = sphere(color='red', opacity='.5') p2 = sphere((-1,-1,1), color='cyan', opacity='.3') p3 = sphere((1,-1,-1), color='yellow', opacity='.7') show(p1 + p2 + p3, viewer='threejs')

Re: [sage-support] Sage Crash Report

2018-11-17 Thread Dima Pasechnik
On Sun, Nov 18, 2018 at 12:11 AM Kolen Cheung wrote: > > I tried. the problem is libiconv is already there. conda install that shows > it's fulfilled. Probably a linking problem... What's the output of ldd

Re: [sage-support] Sage Crash Report

2018-11-17 Thread Kolen Cheung
I tried. the problem is libiconv is already there. conda install that shows it's fulfilled. you can try to conda crete from the yml file to replicate the exact conda environment to reproduce this problem. Regards, Kolen On Nov 17, 2018, 3:30 PM -0800, Dima Pasechnik , wrote: > It looks like

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread Dima Pasechnik
On Sat, Nov 17, 2018 at 11:34 PM Kolen Cheung wrote: > > Hi, > > I'm running SageMath 8.4 kernel in jupyterlab and also jupyter notebook. But > running `plot3d(x * y, (x, -1, 1), (y, -1, 1))` gives me a blank space. Is > there a command I first need to run before it shows? I tried `%matplotlib

[sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-17 Thread Kolen Cheung
Hi, I'm running SageMath 8.4 kernel in jupyterlab and also jupyter notebook. But running `plot3d(x * y, (x, -1, 1), (y, -1, 1))` gives me a blank space. Is there a command I first need to run before it shows? I tried `%matplotlib inline` but it doesn't help. `plot` works though. Thanks! --

Re: [sage-support] Sage Crash Report

2018-11-17 Thread Dima Pasechnik
It looks like Sage installed via conda-forge, and ImportError: /home/sage/.conda/envs/sage/lib/python3.6/site-packages/sage/matrix/../../../../libgd.so.3: undefined symbol: libiconv seems to indicate that libiconv is missing in the environment. I don't know much about conda, but it seems that

[sage-support] Sage Crash Report

2018-11-17 Thread Kolen Cheung
-- 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 to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com.

[sage-support] Re: documentation?

2018-11-17 Thread slelievre
Le vendredi 16 novembre 2018 21:52:18 UTC+1, Michael Beeson a écrit : > > Thank you, that was very instructive to see the "right way" to start by > using an appropriate ring. > I guess you can go on to divide out by the other linear factor and get the > quadratic equation, > and solve it,