Re: [sage-support] Re: Stange behavior with QQbar[z]

2016-11-07 Thread Vincent Delecroix
Concerning representation of algebraic numbers, it is printed as an exact rational if and only if it is stored as an exact rational. It will be if the method exactify has been called on the underlying representation of the number. Here is a simple example that shows the difference sage: a = QQbar(

[sage-support] Unable to launch SageMath 7.4 on macOS Sierra (10.12.1)

2016-11-07 Thread quark67000
I have downloaded *sage-7.4-OSX_10.11.6-x86_64.app.dmg* (I'm under macOS 10.12.1), and installed the app on the Applications folder. But when I launch it, on Terminal, it display this : $ '/Applications/SageMath-7.4.app/Contents/Resources/sage/sage' --notebook=sagenb

Re: [sage-support] How could I import igraph or python-igraph in the python bundled with sage?

2016-11-07 Thread Dima Pasechnik
On Monday, November 7, 2016 at 2:12:14 PM UTC, Eden Harder wrote: > > Thanks for you reply. I know import igraph works in sage. But I have > installed two different packages: igraph and python_igraph. And what I want > to do is import them in python. > python-igraph is a python interface to ig

[sage-support] Re: Help! Simple graphs gone wrong?!?

2016-11-07 Thread Nils Bruin
On Monday, November 7, 2016 at 6:51:34 AM UTC-8, Math Student wrote: > > I attempted to graph two functions by typing the following: > > plot(e^x,(x,-2,5)) > plot(1/(x*(x-1)*(x-2)),(x,-2,5)) > > I seem to be running into three big problems. > 1. The graph is so far zoomed out on the y axis as to

[sage-support] Re: Stange behavior with QQbar[z]

2016-11-07 Thread Nils Bruin
On Monday, November 7, 2016 at 5:59:14 AM UTC-8, tdumont wrote: > > > okay. Now let us construct a polynomial from l: > sage: print sum([l[i]*z^i for i in range(0,len(l))]) > (-0.4022786138875136? + 0.?e-18*I)*z + 1 > ^ >Why? an imaginary part? >--

Re: [sage-support] How could I import igraph or python-igraph in the python bundled with sage?

2016-11-07 Thread Eden Harder
Thanks for you reply. I know import igraph works in sage. But I have installed two different packages: igraph and python_igraph. And what I want to do is import them in python. 在 2016年11月7日星期一 UTC+1下午2:29:58,Jeroen Demeyer写道: > > On 2016-11-07 13:52, Eden Harder wrote: > > I installed sagemath

[sage-support] Stange behavior with QQbar[z]

2016-11-07 Thread Thierry Dumont
Something strange (at least for me). I am computing with polynomials in QQbar[z]. So I do: sage: P.=QQbar[] And I define 2 polynomials N and D. Coefficients of N and D are all real, algebraic numbers (say like QQbar(sqrt(3))) and I consider the rational fraction R=N/D sage: R.parent() Fraction

Re: [sage-support] How could I import igraph or python-igraph in the python bundled with sage?

2016-11-07 Thread Jeroen Demeyer
On 2016-11-07 13:52, Eden Harder wrote: I installed sagemath with hombrew on MacOS. And later I use `sage -i python_igraph` to install python_igraph. After that, I found that 1. I cannot import python_igraph in sage The correct command is: import igraph -- You received this message because y

[sage-support] Re: How could I import igraph or python-igraph in the python bundled with sage?

2016-11-07 Thread Eden Harder
That is, I installed sagemath with the command: brew cask install sage Homeberw cask can manage MacOS applications. I think there is no difference with installing sage in another way. -- You received this message because you are subscribed to the Google Groups "sa

[sage-support] Re: How could I import igraph or python-igraph in the python bundled with sage?

2016-11-07 Thread Dima Pasechnik
On Monday, November 7, 2016 at 12:54:12 PM UTC, Eden Harder wrote: > > I installed sagemath with hombrew on MacOS. And later I use `sage -i > python_igraph` to install python_igraph. After that, I found that > > 1. I cannot import python_igraph in sage > 2. I cannot import both igraph and python

[sage-support] Re: SSL module not available

2016-11-07 Thread Eden Harder
There is some errors when I install pyopenssl eden:~ Eden$ sage -i pyopenssl /Library/Developer/CommandLineTools/usr/bin/make build/make/Makefile make[1]: `build/make/Makefile' is up to date. build/bin/sage-logger \ "cd build/make && ./install 'all-toolchain'" logs/install.log *** ALL ENVIRON

[sage-support] How could I import igraph or python-igraph in the python bundled with sage?

2016-11-07 Thread Eden Harder
I installed sagemath with hombrew on MacOS. And later I use `sage -i python_igraph` to install python_igraph. After that, I found that 1. I cannot import python_igraph in sage 2. I cannot import both igraph and python_igraph in the python bundled with sage I a newbie to sage, I want to know how

[sage-support] Re: sagemath-dev ppa

2016-11-07 Thread HG
Didn't work ? I go back to sage-7.3 till sage-7.5 Thanks for your time. regards Henri Removing previous version of src/doc/en/reference/manifolds Removing previous version of src/doc/en/reference/tensor_free_modules Removing previous version of src/sage/manifolds Removing previous version of src/sa

[sage-support] Re: Problems compiling fflas_fpack-2.2.2 in sage 7.4

2016-11-07 Thread Dima Pasechnik
On Monday, November 7, 2016 at 10:36:47 AM UTC, Florian Hanisch wrote: > > Thanks a lot. That seems to work ! Sage 7.4 was compiled without problems > (at least as far as I can see now) during the weekend. > > Taking a look at fflas_ffpack-2.2.2.log, it seems that error posted in my > initial q

[sage-support] Re: Problems compiling fflas_fpack-2.2.2 in sage 7.4

2016-11-07 Thread 'Florian Hanisch' via sage-support
Thanks a lot. That seems to work ! Sage 7.4 was compiled without problems (at least as far as I can see now) during the weekend. Taking a look at fflas_ffpack-2.2.2.log, it seems that error posted in my initial question still occurs but no longer interrupts the installation process. Anyway, the

[sage-support] Re: Sage Crash Report

2016-11-07 Thread Afonso Henriques Silva Leite
Ok, sorry for my poor message. I installed libgfortran and that solved the problem. Thanks. Em domingo, 6 de novembro de 2016 12:01:34 UTC-3, Afonso Henriques Silva Leite escreveu: > > Please, I need some help here! > -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] sagemath-dev ppa

2016-11-07 Thread Jan Groenewald
Hi The missing file is a relatively new file: https://git.sagemath.org/sage.git/commit/?id=8ccd4404feb6a610bc0b2f816ae74f38178d065d I had not noticed the new file, and did not include it in sagemath-upstream-binary-full. (Also Makefile.in and README.txt). I've now added that to our debian install