[sage-support] Re: vars() gives me an error message

2017-05-02 Thread John H Palmieri
I think it's a (pretty?) printing problem. For me, running sage: a = vars() works without error, but then sage: a gives the error. Same thing happens with locals(). -- John On Tuesday, May 2, 2017 at 2:37:25 AM UTC-7, Dima Pasechnik wrote: > > Indeed, it appears that vars() is broken

[sage-support] Re: vars() gives me an error message

2017-05-03 Thread John H Palmieri
See #22941 for a separate approach (independent of #22933, each ticket fixes a different problem). John On Tuesday, May 2, 2017 at 2:33:27 PM UTC-7, Dima Pasechnik wrote: > > this is now #22933, ready for review. > > Note that it's not a complete fix; > > sage: vars() > > still fails > > sag

[sage-support] Re: Use of \Bold in latex methods, and SageTeX

2017-05-08 Thread John H Palmieri
Hi John, Within Sage, you can get the appropriate command with sage: from sage.misc.latex_macros import sage_configurable_latex_macros sage: sage_configurable_latex_macros ['\\newcommand{\\Bold}[1]{\\mathbf{#1}}'] sage: print(sage_configurable_latex_macros[0]) \newcommand{\Bold}[1]{\mathbf{#1}}

[sage-support] Re: persistent homology?

2017-05-12 Thread John H Palmieri
Sage has no interface to any persistent homology software. Please write one! -- John On Friday, May 12, 2017 at 4:20:14 AM UTC-7, Dima Pasechnik wrote: > > > > On Friday, May 12, 2017 at 9:49:20 AM UTC+1, Pierre wrote: >> >> Is there any interface between Sage and persistent homology software?

[sage-support] Re: Sage Crash Report

2017-06-05 Thread John H Palmieri
"ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory" It looks like you need to install fortran on your machine. On Monday, June 5, 2017 at 10:12:12 AM UTC-7, Vincent HERBERT wrote: > > > -- You received this message because you are subscribed to the Go

[sage-support] Re: typo in simplicial complex documentation?

2017-06-08 Thread John H Palmieri
On Thursday, June 8, 2017 at 5:16:15 PM UTC-7, David Joyner wrote: > > Hi all: > > This is kind of a newbie question, as I'm not an expert on simplicial > complexes. It's also a minor technical issue on the documentation, not > the code. > > I'm trying to debug some code of mine and, on readi

Re: [sage-support] Re: typo in simplicial complex documentation?

2017-06-11 Thread John H Palmieri
On Saturday, June 10, 2017 at 7:05:49 PM UTC-7, David Joyner wrote: > > On Thu, Jun 8, 2017 at 10:49 PM, John H Palmieri > wrote: > > > > > > On Thursday, June 8, 2017 at 5:16:15 PM UTC-7, David Joyner wrote: > >> > >> Hi all: > >>

Re: [sage-support] Re: typo in simplicial complex documentation?

2017-06-11 Thread John H Palmieri
On Sunday, June 11, 2017 at 10:13:52 AM UTC-7, David Joyner wrote: > > On Sun, Jun 11, 2017 at 11:30 AM, John H Palmieri > > wrote: > > > > > > On Saturday, June 10, 2017 at 7:05:49 PM UTC-7, David Joyner wrote: > >> > >> On Thu, Jun 8

[sage-support] Re: Sage Crash Report

2017-06-18 Thread John H Palmieri
On Sunday, June 18, 2017 at 4:41:22 AM UTC-7, Dima Pasechnik wrote: > > git repo is not relevant, but a python module that shadows a Sage python > module would be a problem. For example, if you have your own file "parser.py", it would interfere with the standard Python module "parser". --

[sage-support] Re: sage installation on kubuntu 16.04

2017-07-23 Thread John H Palmieri
One of the last lines in the crash report: ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory It looks like you need to install gfortran. -- John On Sunday, July 23, 2017 at 2:54:43 AM UTC-7, Santosh Pattanayak wrote: > > Hello, > I tried

[sage-support] Re: numerical semigroup in sagemath

2017-07-26 Thread John H Palmieri
On Tuesday, July 25, 2017 at 5:53:37 AM UTC-7, springfield .gion wrote: > > Hi, I need to create and manipulate the additive semigroups generated by > integers (such as those generated by tuples of coprime integers), but I am > struggling with the syntax; is there an easy way to create somethin

[sage-support] Re: Calling java classes from Sage using Py4J

2017-08-02 Thread John H Palmieri
In Sage, "10" is a Sage integer, not a Python int. I am guessing that gateway.jvm.java.util.Random.nextInt expects a Python int for its input, and when it gets a Sage Integer, that causes a problem. What happens if you replace "random.nextInt(10)" with "random.nextInt(int(10))"? On Wednesda

[sage-support] Re: Sage Crash Report

2017-08-15 Thread John H Palmieri
One of the very last lines of the report says > > ImportError: libgfortran.so.3: cannot open shared object file: No such file > or directory > > You need to install gfortran on your computer. On Tuesday, August 15, 2017 at 6:15:01 PM UTC-7, kats...@gmail.com wrote: > > Sage Crash Report > --

Re: [sage-support] Re: Sage Crash Report

2017-08-16 Thread John H Palmieri
On Tuesday, August 15, 2017 at 9:49:35 PM UTC-7, William wrote: > > On Tue, Aug 15, 2017 at 7:47 PM John H Palmieri > wrote: > >> One of the very last lines of the report says >> >>> >>> ImportError: libgfortran.so.3: cannot open shared object file: No

[sage-support] Re: Problem with upgrade on OS X

2017-09-07 Thread John H Palmieri
Sage will build its own gcc, so as long as you have some functioning version of gcc, you shouldn't need to worry about upgrading that. Just try installing a new version of Sage (from scratch, not by upgrading 6.7) and see what happens. John On Thursday, September 7, 2017 at 8:56:03 AM UTC-7

[sage-support] Re: Problem installing sage on High Sierra (Mac OS 10.13)

2017-10-08 Thread John H Palmieri
Are you trying to install Sage 6.2 (as your log seems to indicate)? That is extremely old. Try with a fresh source installation: either http://www.sagemath.org/download-source.html for stable source or http://www.sagemath.org/download-latest.html for the latest development version. Also, do you

[sage-support] Re: Problem installing sage on High Sierra (Mac OS 10.13)

2017-10-08 Thread John H Palmieri
Also, if you have problems with the curl package, try https://trac.sagemath.org/ticket/23991 On Sunday, October 8, 2017 at 10:02:36 AM UTC-7, John H Palmieri wrote: > > Are you trying to install Sage 6.2 (as your log seems to indicate)? That > is extremely old. Try with a fre

[sage-support] Re: Problem installing sage on High Sierra (Mac OS 10.13)

2017-10-16 Thread John H Palmieri
You have at least two choices. For both, start by downloading (http://www.sagemath.org/download-source.html) and unpacking sage-8.0.tar.gz wherever you plan to build it. Choice 1: install git-trac-config: see http://doc.sagemath.org/html/en/developer/git_trac.html#installing-the-git-trac-comman

[sage-support] Re: Problem installing sage on High Sierra (Mac OS 10.13)

2017-10-16 Thread John H Palmieri
6MB). > > At this point, I don't even understand what the error is... Any > suggestions? > > > On Monday, October 16, 2017 at 5:11:15 PM UTC-4, John H Palmieri wrote: >> >> You have at least two choices. For both, start by downloading ( >> http://www.sagemath.

[sage-support] Re: which browser

2017-10-20 Thread John H Palmieri
Have you tried setting the BROWSER environment variable? If that doesn't work, what about SAGE_BROWSER? John On Friday, October 20, 2017 at 7:38:58 AM UTC-7, John Cremona wrote: > > On 20 October 2017 at 15:34, John Cremona > wrote: > > I am running Sage on a linux machine which has chromiu

[sage-support] Re: I tried plotting the recent equation of sin and it does not let me execute it

2018-01-26 Thread John H Palmieri
If you tried "-4sin(2x-pi)", maybe try instead "-4*sin(2*x-pi)" -- include * for multiplication. On Friday, January 26, 2018 at 1:11:51 PM UTC-8, benjamin gonzalezjr wrote: > > Good afternoon, my name is Benjamin Gonzalez Jr. > I need help on how to graph -4sin(2x-pi) on cocalc/sage. I tried >

[sage-support] Re: Error compiling : patch-2-7-5

2018-03-02 Thread John H Palmieri
On Friday, March 2, 2018 at 2:51:17 AM UTC-8, Viviane Pons wrote: > > Dear all, > > I already have a sage installed from binaries (from the debian package) > and I'm trying to compile a dev version from source. > > I'm getting this error (log attached) after less than 1 minute. Does > someone

[sage-support] Re: [sage-cell] Where Oh Where is my Divide By Zero Error?

2018-03-20 Thread John H Palmieri
On Friday, March 16, 2018 at 7:29:30 PM UTC-7, A. Jorge Garcia wrote: > > Thanks! > > On Fri, Mar 16, 2018, 10:27 PM Andrey Novoseltsev > wrote: > >> On Fri, Mar 16, 2018 at 4:18 PM, Jorge Garcia > > wrote: >> > Dear Hive Mind: >> > >> > Why is there no Divide By Zero Error here: >> > >> http:

[sage-support] Re: [sage-cell] Where Oh Where is my Divide By Zero Error?

2018-03-20 Thread John H Palmieri
On Friday, March 16, 2018 at 7:29:30 PM UTC-7, A. Jorge Garcia wrote: > > Thanks! > > On Fri, Mar 16, 2018, 10:27 PM Andrey Novoseltsev > wrote: > >> On Fri, Mar 16, 2018 at 4:18 PM, Jorge Garcia > > wrote: >> > Dear Hive Mind: >> > >> > Why is there no Divide By Zero Error here: >> > >> http:

[sage-support] Re: coxeter3 Package installed, but cannot use it

2018-05-09 Thread John H Palmieri
After installing coxeter, did you run `./sage -b`? This might be necessary to rebuild the parts of the Sage library that use coxeter. On Wednesday, May 9, 2018 at 2:08:26 PM UTC-7, zhang...@gmail.com wrote: > > Platform: Mac > Version: 8.1 > > I installed the package coxeter3 using > !sage -i

[sage-support] Re: Sage 8.3 build from source on Debian 7 fails

2018-08-10 Thread John H Palmieri
You shouldn't have to do './bootstrap'. Try again from the beginning but leave that part off. (This may involve deleting the existing sage-8.3 directory and unpacking the tarball again.) Does that help? On Friday, August 10, 2018 at 11:18:55 AM UTC-7, wout.d...@gmail.com wrote: > > This is what

[sage-support] Re: SIGILL Trouble?

2018-08-31 Thread John H Palmieri
Please tell us your platform (OS X, I presume, but which version of the operating system?) and how you installed Sage. On Friday, August 31, 2018 at 9:39:31 AM UTC-7, Ron Bannon wrote: > > appleadminsimac:~ appleadmin$ > /Applications/SageMath-8.3.app/Contents/Resources/sage/sage; exit > > ┌───

[sage-support] Plotting question: use higher precision when evaluating the function?

2018-08-31 Thread John H Palmieri
The question https://ask.sagemath.org/question/43517/conflicting-sage-vs-wolfram-evaluation-of-a-limit/ brought the following question to mind: can you specify the precision to which a function is evaluated when plotting it? The particular ask.sagemath.org question involves a function whic

Re: [sage-support] Plotting question: use higher precision when evaluating the function?

2018-08-31 Thread John H Palmieri
On Friday, August 31, 2018 at 11:44:37 AM UTC-7, William wrote: > > On Fri, Aug 31, 2018 at 11:15 AM, John H Palmieri > > wrote: > > The question > > > > > > > https://ask.sagemath.org/question/43517/conflicting-sage-vs-wolfram-evaluation-of-a-li

[sage-support] Re: SIGILL Trouble?

2018-09-01 Thread John H Palmieri
On Saturday, September 1, 2018 at 3:40:08 AM UTC-7, Dima Pasechnik wrote: > > SIGILL is an indicator of trying to run code compliled for a CPU that has > commands your CPU does not have. > > Please provide details of your CPU. > And also the precise name of the app that you downloaded. -- Yo

Re: [sage-support] Help with getting the python code

2018-09-30 Thread John H Palmieri
On Sunday, September 30, 2018 at 9:58:33 AM UTC-7, Dima Pasechnik wrote: > > On Sun, Sep 30, 2018 at 5:35 PM Nataliya Demyanenko > > wrote: > > Please, let me know if I can gain access to the python code displayed on > this page > > > https://blog.hhl.de/en/current-projections-for-the-german

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, 5)

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

2018-11-17 Thread John H Palmieri
face but a > Jupyterlab-hub instance that has the sagemath kernel installed. > > On Saturday, November 17, 2018 at 7:21:02 PM UTC-8, John H Palmieri wrote: >> >> 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.

Re: [sage-support] Quaternions, how to speed up computation

2018-11-19 Thread John H Palmieri
On Monday, November 19, 2018 at 5:32:39 AM UTC-8, Kolen Cheung wrote: > > And if anyone has language issue it surely is OP. hijack vs shut up, which > one is more serious? Accusing someone hijacking something is a very serious > accusation. Since you asked what kind of community this is, from

[sage-support] Obtaining the factors in a tensor product

2018-12-09 Thread John H Palmieri
1. Suppose I have a tensor product X = V tensor W of appropriate objects (instances of CombinatorialFreeModule, for example). How can I retrieve V and W from X? 2. Suppose I have a basic tensor x = v tenor w in V tensor W. How can retrieve v and w from x? For example, if A is your favorite Hop

[sage-support] Re: solve() behavior

2019-02-19 Thread John H Palmieri
On Tuesday, February 19, 2019 at 8:56:50 AM UTC-8, Michael Beeson wrote: > > When I try to reproduce Eric's post, I get an error message about an > unexpected keyword argument > (maybe my version of Sage is too old.) But look at this: > > sage: solve(*2**(x+sqrt(*1*-x^*2*))-*7*,x,explicit_so

[sage-support] Re: solution of a 4th degree equation is real despite containing I but causes trouble

2019-02-20 Thread John H Palmieri
How about range(0, RR(t))? On Wednesday, February 20, 2019 at 10:11:14 AM UTC-8, Michael Beeson wrote: > > Oh, and range(0,n(t)) also crashes. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop recei

[sage-support] Re: solution of a 4th degree equation is real despite containing I but causes trouble

2019-02-20 Thread John H Palmieri
Or range(abs(t))? Then if there is some numerical noise leading to a tiny imaginary part (your t might be evaluated to 2.573037896825689 - 4.365411232224172e-17*I for example), abs(t) won't care. On Wednesday, February 20, 2019 at 10:42:32 AM UTC-8, John H Palmieri wrote: > > How

[sage-support] Re: How to find coordinate vector

2019-02-22 Thread John H Palmieri
I would define the span over the integers differently, using "span_of_basis" to make sure it uses the basis you specify: sage: V = ZZ^2 sage: W = V.span_of_basis(R) sage: W Free module of degree 2 and rank 2 over Integer Ring User basis matrix: [1 3] [1 0] sage: W.coordinates([0,3]) [1, -1] Thes

Re: [sage-support] yasm can not be installed/compiled

2019-03-18 Thread John H Palmieri
What are the modification dates and times for the files in the directory /apps/srv01/pmt/pmtfh/sage/sage-8.6/local/var/tmp/sage/build/yasm-1.3.0.p0 Maybe you should run 'make' again, which will regenerate this directory, and then check the times on the files. Are any of them in the future?

[sage-support] Re: Sage options not recognized.

2019-03-29 Thread John H Palmieri
What does "sage --version" say? On Friday, March 29, 2019 at 12:47:44 PM UTC-7, Jose Garcia wrote: > > Hi All, > > I'm trying to install a package to sage math, and I can't get sage to > recognize specific options. > > Ex > > $ sage --package fix-checksum conjecturing > sage-run received un

Re: [sage-support] Print statement vs function in Sage-py3

2019-04-03 Thread John H Palmieri
On Wednesday, April 3, 2019 at 10:11:19 AM UTC-7, kcrisman wrote: > > > > On Tuesday, April 2, 2019 at 6:03:23 PM UTC-4, Dima Pasechnik wrote: >> >> On Tue, Apr 2, 2019 at 10:47 PM > >> wrote: >> > >> > Hello, Sage community. >> > With the upcoming migration of Sage from Python2 to Python3, I

Re: [sage-support] Preferred way to navigate through documentation

2019-04-07 Thread John H Palmieri
You should also look at the Sage tutorial (http://doc.sagemath.org/html/en/tutorial/). The 2nd page of the "guided tour" talks about "?", and there may be other things that you would find useful. On Sunday, April 7, 2019 at 5:36:18 PM UTC-7, Fan Zhang wrote: > > Thanks a lot! "?" is the saver!

Re: [sage-support] Re: Sorting a list of variables

2019-04-22 Thread John H Palmieri
On Monday, April 22, 2019 at 11:03:48 AM UTC-7, slelievre wrote: > > Having defined > > sage: x = SR.var('x', 20) > sage: a = [x[11], x[8], x[10], x[9]] > > sorting by repr or by str is disappointing: > > sage: sorted(a, key=repr) > [x10, x11, x8, x9] > > sage: sorted(a, key=s

[sage-support] Re: reconnect to remote sagemath jupyter notebook?

2019-04-22 Thread John H Palmieri
If you're willing to use the Sage command-line interface rather than the notebook, then you might try the "screen" program, which should already be installed on linux or Mac OS X. You might remotely log in to the machine running Sage and then do "screen sage". Then you type in whatever commands

Re: [sage-support] Re: parent of permutation

2019-05-04 Thread John H Palmieri
On Friday, May 3, 2019 at 11:18:40 PM UTC-7, Daniel Krenn wrote: > > On 04.05.19 06:04, Andrew wrote: > > The `Permutation` function is more general. For example, the folllowing > > all work: [...] > > Thank you. But sorry, this does not answer my question. Maybe I should > be more precise:

[sage-support] Re: installation on OSX Mojave, Sage V. 8.7

2019-05-24 Thread John H Palmieri
On Friday, May 24, 2019 at 9:03:39 AM UTC-7, frank wessel wrote: > > downloaded the sage-8.7-OSX_10.11.6-x86_64.dmg (hopefully the latest) > installed the package into Applications/SageMath folder > set the SAGE_ROOT env variable in /etc/profile > You should not need to set the SAGE_ROOT variabl

[sage-support] Re: how to do ?

2019-05-25 Thread John H Palmieri
On Saturday, May 25, 2019 at 3:31:00 AM UTC-7, HG wrote: > > sage -i database_odlyzko_zeta > > doesn't work in sagemath-8.8beta6 ? > > How can I do it ? > > Please provide more details: what platform? What went wrong. It worked for me, by the way: $ ./sage -i database_odlyzko_zeta ... [data

[sage-support] Re: A genuine bug in numerical evaluation ?

2019-06-06 Thread John H Palmieri
I can confirm that it works for me on OS X with Python 3, gives the error you described with Python 2. On Thursday, June 6, 2019 at 2:57:08 PM UTC-7, Emmanuel Charpentier wrote: > > According to Serge Lelièvre, the proble doesn't occur when ran under a > Python3-based Sage. He advises to run su

[sage-support] Re: A genuine bug in numerical evaluation ?

2019-06-06 Thread John H Palmieri
Oh, and Sage with Python 3 is in pretty good shape these days. Still some doctest failures, but I think it is mostly very functional. John On Thursday, June 6, 2019 at 3:20:25 PM UTC-7, John H Palmieri wrote: > > I can confirm that it works for me on OS X with Python 3, gives the

Re: [sage-support] The behavior of empty sums

2019-06-25 Thread John H Palmieri
On Tuesday, June 25, 2019 at 3:10:29 AM UTC-7, Peter Luschny wrote: > > Am Di., 25. Juni 2019 um 10:49 Uhr 'luisfe' : > > | When n =0, k ranges from 0 to -1 so there is no k and the list > constructed in ib(n,m) > | is just the empty list. Not an empty list of polynomials, just an empty > lis

Re: [sage-support] Is there a binary version of SageMath .app.dmg compatiable with Mac OS X ver. 10.14.6

2019-07-26 Thread John H Palmieri
On Friday, July 26, 2019 at 12:32:06 AM UTC-7, Dima Pasechnik wrote: > > > > On Fri, 26 Jul 2019 at 06:26, Samuel Dupree > wrote: > >> >> >> I'm attempting to update SageMath-8.7.app on an iMacPro running Mac OS X >> ver. 10.14.6 tp SageMath-8.8.app. The problem for the moment occurs when I >>

Re: [sage-support] Is there a binary version of SageMath .app.dmg compatiable with Mac OS X ver. 10.14.6

2019-07-26 Thread John H Palmieri
On Friday, July 26, 2019 at 9:33:25 AM UTC-7, John H Palmieri wrote: > > > > On Friday, July 26, 2019 at 12:32:06 AM UTC-7, Dima Pasechnik wrote: >> >> >> >> On Fri, 26 Jul 2019 at 06:26, Samuel Dupree wrote: >> >>> >>> >>> I

[sage-support] debian virtual machine numerical noise

2019-08-09 Thread John H Palmieri
In order to try to track down the problem with Python 3 and polynomial_rational_flint.pyx on Debian (see https://trac.sagemath.org/ticket/28334 — help wanted!), I installed VirtualBox and a Debian 10 virtual machine on my iMac. Most doctests pass, but I am getting some numerical noise. Did I mi

Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread John H Palmieri
On Wednesday, October 9, 2019 at 4:51:48 AM UTC-7, David Joyner wrote: > > > > On Wed, Oct 9, 2019 at 7:42 AM Dima Pasechnik > wrote: > >> >> >> On Wed, Oct 9, 2019 at 6:34 AM David Joyner > > wrote: >> >>> >>> >>> On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik >> > wrote: >>> Hi,

[sage-support] Re: failure to re-install ipython

2019-10-25 Thread John H Palmieri
On Friday, October 25, 2019 at 2:59:36 AM UTC-7, Dima Pasechnik wrote: > > in the Sage 9.0.beta2 I get > > [ipython-5.8.0] Successfully installed ipython-5.8.0 > [ipython-5.8.0] Cleaning up... > [ipython-5.8.0] Removed build tracker '/tmp/pip-req-tracker-h6h22jg5' > [ipython-5.8.0] > [

Re: [sage-support] Re: sage building with python3

2019-11-03 Thread John H Palmieri
Since trac #28426 (merged pretty recently), when building with Python 3, we do not build Python 2. Before that, we always built both. On Sunday, November 3, 2019 at 12:57:02 PM UTC-8, Dima Pasechnik wrote: > > I am surprised we still even build python2 by default. Isn't it an > optional package

Re: [sage-support] Re: sage building with python3

2019-11-04 Thread John H Palmieri
If you want to build Sage for use with Python 3, you should do $ make distclean $ ./configure --with-python=3 $ make Where does this fail for you? On Monday, November 4, 2019 at 8:21:04 AM UTC-8, Александр Ватузов wrote: > > No, I am building sage only for using it with python3. So I need to

[sage-support] Re: Problems Compiling 9.0

2020-01-03 Thread John H Palmieri
On Friday, January 3, 2020 at 11:54:04 AM UTC-8, finotti wrote: > > I'm trying to build version 9.0 from source under Linux (Debian > Unstable/Sid). The machine has Intel Core i7-8700 CPU and 48GB of RAM. > > Below is the end of the compilation: > > [snip] > > [twisted-16.3.0.p0] Finished insta

Re: [sage-support] sage with python3, mpmath

2020-01-14 Thread John H Palmieri
Just to confirm: everything works with Sage 9.0.beta1, built with Python 2. Fails with Sage built with Python 3. On Tuesday, January 14, 2020 at 5:55:51 AM UTC-8, Александр Ватузов wrote: > > https://trac.sagemath.org/ticket/29009#ticket > > вторник, 14 января 2020 г., 16:36:27 UTC+3 пользовател

Re: [sage-support] sage with python3, mpmath

2020-01-14 Thread John H Palmieri
Sorry, I meant Sage *9.1.beta0*. On Tuesday, January 14, 2020 at 10:18:41 AM UTC-8, John H Palmieri wrote: > > Just to confirm: everything works with Sage 9.0.beta1, built with Python > 2. Fails with Sage built with Python 3. > > > On Tuesday, January 14, 2020 at 5:55:51 A

Re: [sage-support] sage with python3, mpmath

2020-01-14 Thread John H Palmieri
/libintmath.py", > line 161 ? Just interesting :) > > вторник, 14 января 2020 г., 21:20:05 UTC+3 пользователь John H Palmieri > написал: >> >> Sorry, I meant Sage *9.1.beta0*. >> >> On Tuesday, January 14, 2020 at 10:18:41 AM UTC-8, John H Palmieri wro

[sage-support] Re: deprecation warning about "`\QQ`" and "\*"

2020-03-28 Thread John H Palmieri
On Saturday, March 28, 2020 at 7:07:53 AM UTC-7, rana-aere wrote: > > > > I am compiling binary-pkg and encountered a deprecation warning. > The warning appeared when I invoked sage from command line. > (Technically, it was after messages of patching.) > > The warning reads > > ``` > .../quotient

[sage-support] Re: deprecation warning about "`\QQ`" and "\*"

2020-03-29 Thread John H Palmieri
On Sunday, March 29, 2020 at 12:24:38 AM UTC-7, rana-aere wrote: > > Thank you for clear instructions. > I used the codes to compare how doctoring of the method _macaulay2_init_ > is displayed. > > sage-8.9 (command line and jupyter) > > ``` > Init docstring: x.__init__(...) initializes x; see he

Re: [sage-support] Building on Catalina

2020-04-08 Thread John H Palmieri
When I have had problems with libpng, it has helped to do "brew install pkg-config". If you happened to start building Sage and then upgraded Homebrew and/or Xcode in the middle of that, or if you've installed any new Homebrew packages, you should probably start over with "make distclean" foll

Re: [sage-support] Sage Crash report

2020-04-09 Thread John H Palmieri
Did you look at the file "README.md"? It suggests building in parallel to speed things up. Have you tried that? On Thursday, April 9, 2020 at 12:35:58 PM UTC-7, hbetx9 wrote: > > I htink I know what I did, somehow I change the prefix to a directory that > didn't exist. I'm recompiling to see if

Re: [sage-support] simple desolve_tides_mpfr crash, even for SageMath Cell Server

2020-04-16 Thread John H Palmieri
Maybe SageCell doesn't have the optional package "tides" installed. This is the same error I see on my own computer without "tides". On Thursday, April 16, 2020 at 9:26:21 AM UTC-7, slelievre wrote: > > Here is the error after executing the original poster's code in SageCell. > > --

[sage-support] Re: How to modify the index of a matrix

2020-04-20 Thread John H Palmieri
On Monday, April 20, 2020 at 1:01:24 PM UTC-7, Emmanuel Zuñiga wrote: > > Hello, i would like to know how to modify the index of a matrix in > sagemath. As an example, we all know that every object begins in 0, m[0] > and that kind of things. > Now, i need to modify this. to add one to the inde

[sage-support] Re: Extended Operations on Symbols

2020-04-26 Thread John H Palmieri
sage: var('q') q sage: (q+q^(-1))^(1/2) sqrt(q + 1/q) (By the way, I'm not sure I would call using a fraction field "naive".) On Sunday, April 26, 2020 at 9:01:35 AM UTC-7, Jin Guu wrote: > > I am writing a calculator for various 'q' quantities, and often find that > I need to manipulate symbol

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread John H Palmieri
Silly question, but are you sure you are starting up Sage 9.0 when you do all of this ("sage --notebook" or "sage --sh")? If you give an explicit path to the Sage 9.0 version, does that help? Do you have any Sage-related environment variables which could be interfering with things? On Wednesda

[sage-support] Conda install: docs?

2020-06-14 Thread John H Palmieri
When I follow the directions at https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda for installing via conda, it seems that the Sage documentation is not built, and furthermore, it is not clear to me how to build it. Am I missing something? See also https://ask.sag

[sage-support] Re: bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread John H Palmieri
According to wikipedia, graphs.CirculantGraph(n, [j_1, j_2, ...]) is connected if and only if gcd(n, j_1, j_2, ...) = 1. In this case, the gcd is 2. If Sage's definition is correct, it's defined as having 10 vertices, and vertex i is connected to vertices i+2, i-2, i+4, i-4, then even vertices

[sage-support] Question about a deprecation warning

2020-07-01 Thread John H Palmieri
This puzzles me: evaluating '\i' in Python 3 just gives '\i'. Same with IPython. Evaluating it in Sage prints many warning messages: the following is from a fresh Sage session, and I only evaluated '\i' once, despite the appearance: % sage ┌─

[sage-support] Re: Question about a deprecation warning

2020-07-01 Thread John H Palmieri
On Wednesday, July 1, 2020 at 2:22:49 PM UTC-7, Antonio Rojas wrote: > > > > El miércoles, 1 de julio de 2020, 21:06:43 (UTC+2), John H Palmieri > escribió: >> >> >> Why so many deprecation warnings? I think they're coming from plain >> P

[sage-support] Re: Question about a deprecation warning

2020-07-01 Thread John H Palmieri
On Wednesday, July 1, 2020 at 4:39:12 PM UTC-7, John H Palmieri wrote: > > > > On Wednesday, July 1, 2020 at 2:22:49 PM UTC-7, Antonio Rojas wrote: >> >> >> >> El miércoles, 1 de julio de 2020, 21:06:43 (UTC+2), John H Palmieri >> escribió: >>>

[sage-support] Re: Question about a deprecation warning

2020-07-10 Thread John H Palmieri
Does IPython have a preparser? On Thursday, July 9, 2020 at 11:43:36 PM UTC-7, Kwankyu wrote: > > Because of the preparser? > > On Thursday, July 2, 2020 at 9:19:58 AM UTC+9 John H Palmieri wrote: > >> >> >> On Wednesday, July 1, 2020 at 4:39:1

[sage-support] Is our toric varieties documentation misleading and/or wrong?

2020-08-27 Thread John H Palmieri
See https://math.stackexchange.com/questions/3802874/does-isomorphic-mathbb-q-cohomology-implies-isomorphic-mathbb-z-cohomology/3803623#3803623 Can someone who knows the mathematics decide whether this is an issue that needs to be fixed, or whether the documentation could be clarified? -- John

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-01 Thread John H Palmieri
I've been trying to build on Big Sur, too. I removed the MACOSX_DEPLOYMENT_TARGET lines from sage-env, but the Python build still fails. The log file is attached. Any suggestions (besides installing a different system version of Python)? John On Saturday, August 22, 2020 at 3:44:01 PM UTC-7

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-01 Thread John H Palmieri
hout underscore." On Tuesday, September 1, 2020 at 8:38:47 PM UTC-7 John H Palmieri wrote: > I've been trying to build on Big Sur, too. I removed the > MACOSX_DEPLOYMENT_TARGET lines from sage-env, but the Python build still > fails. The log file is attached. Any suggestions

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-01 Thread John H Palmieri
On Tuesday, September 1, 2020 at 9:52:37 PM UTC-7 Matthias Koeppe wrote: > On Tuesday, September 1, 2020 at 8:59:14 PM UTC-7, John H Palmieri wrote: > >> If I do install Python 3.7, then gf2x and ecm both fail to build. The >> gf2x log file says "configure: error: Can

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-02 Thread John H Palmieri
indicate that the configure script is confused about cross compiling > to a different architecture. > > > On Tuesday, September 1, 2020 at 9:59:59 PM UTC-7, John H Palmieri wrote: >> >> >> >> On Tuesday, September 1, 2020 at 9:52:37 PM UTC-7 Matthias Koeppe wrote:

Re: [sage-support] compiling fails with 'boost/preprocessor/cat.hpp' file not found

2020-09-04 Thread John H Palmieri
On Friday, September 4, 2020 at 7:14:24 AM UTC-7, Dima Pasechnik wrote: > > > > On Fri, Sep 4, 2020 at 12:55 PM Szabolcs Horvát > wrote: > > > Thanks for the response. I do have boost installed in > /opt/local/include, through MacPorts, but I remove MacPorts from the PATH > before building Sag

Re: [sage-support] compiling fails with 'boost/preprocessor/cat.hpp' file not found

2020-09-04 Thread John H Palmieri
On Friday, September 4, 2020 at 9:23:30 AM UTC-7, Dima Pasechnik wrote: > > On Fri, Sep 4, 2020 at 4:31 PM John H Palmieri > wrote: > > > > > > > > On Friday, September 4, 2020 at 7:14:24 AM UTC-7, Dima Pasechnik wrote: > >> > >> > &g

[sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread John H Palmieri
Building Sage on Big Sur is being tracked at https://trac.sagemath.org/ticket/30651; see also https://trac.sagemath.org/ticket/30494. Do you have homebrew installed, and if so, which packages? You could try forcing Sage to build its own zlib, for example, to try to get Sage's Python to find it.

Re: [sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread John H Palmieri
that, too. On Wednesday, October 7, 2020 at 12:55:50 PM UTC-7, David Joyner wrote: > > > > On Wed, Oct 7, 2020 at 1:06 PM John H Palmieri > wrote: > >> Building Sage on Big Sur is being tracked at >> https://trac.sagemath.org/ticket/30651; see also >> https://t

[sage-support] Re: persistent homology?

2020-10-15 Thread John H Palmieri
No, I do not believe so. On Thursday, October 15, 2020 at 10:22:36 AM UTC-7, Linden Disney wrote: > > I am just starting a project involving persistent homology, did anything > end up happening with this? > > On Wednesday, September 13, 2017 at 1:55:30 AM UTC+1 slelievre wrote: > >> Tue 2017-09

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread John H Palmieri
On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote: > > As far as building from source is concerned, I'd recommend using > Homebrew, instead of trying > to build most packages from scratch (as it is the case if you don't use > it). > Please pay attention that you need to

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread John H Palmieri
ris19 wrote: >>>>> >>>>>> >>>>>> Thank you for helping me. >>>>>> >>>>>> I followed the instructions at the end of ./configure output (brew >>>>>> install ...) >>>>>> >>>

Re: [sage-support] The best practices for using SageNB in SagaMath 9.1?

2020-11-18 Thread John H Palmieri
I was hoping that it might be missing dependencies when building sagenb, but when I tried this, it didn't help. Maybe something this will work: ./configure --with-python=2 --enable-sagenb=yes --enable-flask_autoindex=yes --enable-flask_babel=yes --enable-flask=yes --enable-flask_oldsessions=yes

[sage-support] Re: The pip ssl mess on Mac OS X: ways forwards

2020-11-22 Thread John H Palmieri
Is it possible to create a binary distribution that relies on a system Python 3? Those may already be built with ssl support. On Sunday, November 22, 2020 at 11:24:45 AM UTC-8 watso...@gmail.com wrote: > > Right now pip doesn't work in the binary distributions due to the absence > of the ssl mo

Re: [sage-support] Re: Install of sage on macOS

2020-12-23 Thread John H Palmieri
The short answer is that Sage is designed for (among others) research mathematicians, who may not have the interest or inclination to learn how to install lots of system packages. So from the beginning it included as many components as possible. Years ago the presence of MacPorts and other simi

[sage-support] Re: Displaying a simple table

2015-01-22 Thread John H Palmieri
On Thursday, January 22, 2015 at 12:10:13 PM UTC-8, CR wrote: > > The assignment is to construct a two-column table that starts at x= -4 and > ends with x= 5 with one unit increments between consecutive x values. It > should have column headings ‘x’ and ‘f(x)’. I can't find anything helpful >

[sage-support] Re: Extract matrix from output of right_kernel()

2015-02-10 Thread John H Palmieri
On Tuesday, February 10, 2015 at 12:52:45 PM UTC-8, slelievre wrote: > > sage: M = matrix([[1, 1, 1],[0, 0, -1]]) > sage: M > [ 1 1 1] > [ 0 0 -1] > sage: M.right_kernel() > Free module of degree 3 and rank 1 over Integer Ring > Echelon basis matrix: > [ 1 -1 0] > sage: k = M.right_kernel() >

[sage-support] running a .spyx file?

2015-03-22 Thread John H Palmieri
Did running a .spyx file break? If I have a file "testing.spyx' containing import sage.all sage.all.ZZ and then I run 'sage testing.spyx', I get an error: AttributeError: 'module' object has no attribute 'all' I think this ought to work. Should 'from sage.all import *' work also? It does

[sage-support] Re: Whats wrong with my function syntax?

2015-04-01 Thread John H Palmieri
If I copy and paste your code, I also get an error. The reason is that the first symbol you use for subtraction is not a hyphen, but some other symbol which looks very much like a hyphen, but which Sage does not recognize. (The second subtraction symbol seems to be okay.) Try using hyphens inste

[sage-support] Re: How do I backup my notebook files? The SAGE notebook will not open...

2015-04-06 Thread John H Palmieri
On Monday, April 6, 2015 at 12:53:45 PM UTC-7, manrique.m...@gmail.com wrote: > > Actually, maybe I am misunderstanding something... > > I get this when I try to retrieve my notebook files: > > user@debian:~$ cd /.sage/sage_notebook.sagenb/home/admin/ > bash: cd: /.sage/sage_notebook.sagenb/hom

[sage-support] Re: Differential graded algebras with homological indexing

2015-05-01 Thread John H Palmieri
On Friday, May 1, 2015 at 3:04:45 AM UTC-7, John Wiltshire-Gordon wrote: > > According to the documentation for commutative_dga, a differential graded > algebra is graded by integers. However, if I attempt to give a generator > negative degree, I get an error. For example, > > A = GradedCommu

[sage-support] Re: Problem with roots

2015-05-13 Thread John H Palmieri
On Wednesday, May 13, 2015 at 7:22:55 AM UTC-7, Phoenix wrote: > > > Why does this not work? > > p = 331776*x^36 - 11943936*x^34 + 195747840*x^32 - 1932263424*x^30 + > 12809871360*x^28 - 60216016896*x^26 + 206610186240*x^24 - > 524928024576*x^22 + 991718940672*x^20 - 1386996203520*x^18 + > 14159

Re: [sage-support] Re: Is there anywhere I can download the entire Sage documentation in HTML (ZIP) or PDF format?

2015-05-14 Thread John H Palmieri
Try opening the file SAGE_ROOT/src/doc/output/html/en/index.html in your web browser (where "SAGE_ROOT" is the top directory in your Sage installation). Is that something like what you want? Note that if you've built the pdf documentation (by running "make doc-pdf", for example) then there

[sage-support] Re: installing optional packages

2015-05-19 Thread John H Palmieri
On Tuesday, May 19, 2015 at 2:14:59 AM UTC-7, Emmanuel Charpentier wrote: > > Something is definitely out of joint in packages management. > > Thanks to the current migration of sagemath.org, I rebuilt from scratch > (= from the tarball) sage 6.7 on a slow machine. The resultant system : > charp

  1   2   3   4   5   6   >