[sage-support] Re: MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Matthias Koeppe
I'd suggest to check if you have stuff in /usr/local that does not belong there. On Tuesday, August 20, 2024 at 8:40:01 AM UTC-7 Ben Salisbury wrote: > Hi. I'm trying to build Sage from source (the develop branch) on an M2 > MBAir running Sonoma 14.5 and the build continues to fail at gmp. I

[sage-support] Please test: Installation on Windows via VS Code dev containers

2024-08-13 Thread Matthias Koeppe
I would like to get feedback from Sage users on Windows who are familiar with VS Code regarding a proposed installation procedure for the Sage Installation Guide. - https://doc-pr-37534--sagemath.netlify.app/html/en/installation/#using-visual-studio-code-with-sagemath-dev-containers -- You rec

Re: [sage-support] Re: Fail in installing both sage-numerical-backends-gurobi and sage-numerical-backends-coin

2024-07-31 Thread Matthias Koeppe
cpdef write_mps(self, filename, int modern) noexcept: > ^ > > > sage_numerical_backends_gurobi/gurobi_backend.pyx:1142:14: C method > 'write_mps' not previously declared in definiti

[sage-support] Re: Fail in installing both sage-numerical-backends-gurobi and sage-numerical-backends-coin

2024-07-27 Thread Matthias Koeppe
Which Sage version; logs please. On Tuesday, July 23, 2024 at 8:28:06 AM UTC-7 Ziyan He wrote: > When I try to use pip install to install sage-numerical-backends-gurobi, I > encounter the following error: > > Error compiling Cython file: > ---

Re: [sage-support] Re: No doctests are executed in sage/modular/pollack_stevens/padic_lseries.py

2024-06-13 Thread Matthias Koeppe
I agree, the problem is that currently we cannot distinguish typo'd doctest tags from valid doctest tags that are not present. Part of the solution: https://github.com/sagemath/sage/issues/35856 On Thursday, June 13, 2024 at 7:40:27 AM UTC-7 Vincent Delecroix wrote: > Generalizing the problem of

[sage-support] Re: Does sagemath support something similar to numpy's einsum for symbolic arrays?

2024-04-15 Thread Matthias Koeppe
You might be looking for https://doc.sagemath.org/html/en/reference/tensor_free_modules/sage/tensor/modules/tensor_with_indices.html On Tuesday, April 9, 2024 at 6:59:27 AM UTC-7 Anton Todorov wrote: > Einsum: https://numpy.org/doc/stable/reference/generated/numpy.einsum.html > > It is a way to

[sage-support] Re: Is there a way to use Sage's Jupyter outside the sage shell ?

2024-04-15 Thread Matthias Koeppe
Yes, this is documented in https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation On Monday, April 8, 2024 at 11:16:45 AM UTC-7 Emmanuel Charpentier wrote: > Setup : Sage 10.4.beta1 runnin

Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-29 Thread Matthias Koeppe
This one is fixed in https://github.com/sagemath/sage/pull/37646 On Wednesday, March 27, 2024 at 9:58:10 AM UTC-7 Dima Pasechnik wrote: > I've cut out the interesting part of the log. > It's a linker error (IMHO the linking should be done with C++, not > with C compiler, but that's probably OK

Re: [sage-support] Sagemanifolds error in example notebook

2024-02-07 Thread Matthias Koeppe
On Wednesday, February 7, 2024 at 7:00:07 AM UTC-8 Eric Gourgoulhon wrote: I don't know about any automated way to check that the example notebooks are up to date. One can use "jupyter nbconvert --to notebook --execute" for this https://nbconvert.readthedocs.io/en/latest/execute_api.html --

[sage-support] Re: Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Matthias Koeppe
By the way, a further improvement to this section in the installation guide is waiting for review in https://github.com/sagemath/sage/pull/37056 On Tuesday, January 23, 2024 at 10:13:08 AM UTC-8 Matthias Koeppe wrote: > Many of these packages appeared in the 10.2 developer's guide only

[sage-support] Re: Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Matthias Koeppe
Many of these packages appeared in the 10.2 developer's guide only because of a bug in the script that generates this list. This is already fixed in the current beta; see https://deploy-livedoc--sagemath.netlify.app/html/en/installation/source#debian-ubuntu-package-installation Nevertheless, t

Re: [sage-support] Sage Docker images are outdated: still on Sage 9.7

2023-06-19 Thread Matthias Koeppe
The page https://doc.sagemath.org/html/en/developer/portability_testing.html#using-our-pre-built-docker-images-for-development-in-vs-code has a link to a number of more container options On Monday, June 19, 2023 at 3:29:35 PM UTC-7 Beth Claire wrote: > I saw the cocalc docker, and yeah, it's

[sage-support] Re: Error with digraph plot and view

2023-06-03 Thread Matthias Koeppe
Try "make -j list-broken-packages", which may give instructions how to fix this On Saturday, June 3, 2023 at 7:40:58 PM UTC-7 Jianping Pan wrote: > Hi all, > > I'm using *SageMath version 10.1.beta1*, and I have dot2tex and graphviz > installed. I checked that following line produces a nice PDF

[sage-support] Re: Sage Crash Report

2023-05-31 Thread Matthias Goerner
>::Domain_t::RandIter&, FFPACK::FFPACK_CHARPOLY_TAG, unsigned long) I expect this to be in ffpack, so I made sure that ffpack is indeed picked up from the dedicated conda environment: lsof -p 70202 | grep -i ffpack python3.1 70202 matthias txt REG 1,15 1132624 5917685 /Users

[sage-support] Re: Sage Crash Report

2023-05-31 Thread Matthias Goerner
library from something that is not in the dedicated conda environment. On Friday, May 26, 2023 at 8:05:04 AM UTC-7 Matthias Koeppe wrote: > config.log please > > On Wednesday, May 24, 2023 at 3:16:25 PM UTC-7 Matthias Goerner wrote: > >> Hi! >> >> I can't get s

[sage-support] Re: Sage Crash Report

2023-05-26 Thread Matthias Koeppe
config.log please On Wednesday, May 24, 2023 at 3:16:25 PM UTC-7 Matthias Goerner wrote: > Hi! > > I can't get sage to work when installing it with conda on a new MacBook > Pro with M2 chip and Ventura 13.3. > > I tried > conda -n sage create sage=9.X python=3.Y &

[sage-support] Re: Sage Crash Report

2023-05-24 Thread Matthias Goerner
9.7 with python 3.10 seems to work on Ventura 13.3 on a M2. On Wed, May 24, 2023 at 3:16 PM Matthias Goerner wrote: > Hi! > > I can't get sage to work when installing it with conda on a new MacBook > Pro with M2 chip and Ventura 13.3. > > I tried > conda -n sage create

[sage-support] Sage Crash Report

2023-05-24 Thread Matthias Goerner
error below. Cheers, Matthias (sage-py310) matthias@matthiass-air-2 ~ % sage ┌┐ │ SageMath version 9.8, Release Date: 2023-02-11 │ │ Using Python 3.10.11. Type "help()

[sage-support] Re: Error building 9.8 on Ubuntu 23.04

2023-04-09 Thread Matthias Koeppe
Try if "make sage_conf" fixes this problem. If this persists, please post the file "config.log". On Saturday, April 8, 2023 at 3:19:13 PM UTC-7 Eric Majzoub wrote: > Thank you, this allows sage to complete the build. However, now I have > another problem. When I run sage from its install directo

Re: [sage-support] Current advice for generic SageMath install advice

2023-03-29 Thread Matthias Koeppe
On Wednesday, March 29, 2023 at 1:33:07 PM UTC-7 Nils Bruin wrote: On Wednesday, 29 March 2023 at 13:06:25 UTC-7 Matthias Koeppe wrote: On Tuesday, March 28, 2023 at 10:18:23 PM UTC-7 Nils Bruin wrote: [...] leads me to believe that it's probably nor possible to install pynormaliz via

Re: [sage-support] Current advice for generic SageMath install advice

2023-03-29 Thread Matthias Koeppe
On Tuesday, March 28, 2023 at 10:18:23 PM UTC-7 Nils Bruin wrote: [...] leads me to believe that it's probably nor possible to install pynormaliz via "make" in a binary distribution. If you install Sage from a binary distribution, then there is no relation whatsoever to a source tree of Sage.

Re: [sage-support] Current advice for generic SageMath install advice

2023-03-28 Thread Matthias Koeppe
On Monday, March 27, 2023 at 6:34:50 PM UTC-7 Nils Bruin wrote: In my experience, sagelib needs rebuilding to interface with normaliz (I think it's "make normaliz pynormaliz" nowadays, or perhaps one needs a pip install). No, there is no such build-time dependency. And "make pynormaliz" suffic

[sage-support] Re: Equivalent System Packages command for homebrew?

2023-03-16 Thread Matthias Koeppe
This screenshot is from the "_prereq" spkg, which records the minimal packages for a from-source build of Sage. Sage can be built using just the Xcode command-line tools, which is why nothing is displayed there. On Tuesday, March 14, 2023 at 3:38:12 AM UTC-7 Rishitha Madhavaram wrote: > [image:

[sage-support] Re: Backends for SemidefiniteProgram()

2023-02-19 Thread Matthias Koeppe
The way forward is via CVXpy. See https://github.com/sagemath/sage/pull/35120 (needs review); next step: https://github.com/sagemath/sage/issues/31962 On Friday, February 17, 2023 at 2:15:00 AM UTC-8 Peter Mueller wrote: > Even though I installed the optional packages csdp and dsdp in Sage 9.8,

[sage-support] Re: Cannot build Sage 9.8 on Ubuntu 22.04.1 LTS

2023-01-30 Thread Matthias Koeppe
Disable Anaconda and read what "./configure" says at the end (these messages are for you) On Sunday, January 29, 2023 at 2:07:52 PM UTC-8 hyunjo...@gmail.com wrote: > Hello, > > I've been trying to build Sage 9.8 from source for development; I had > previously done so months ago, but I had not

Re: [sage-support] Re: Sage 9.8 build error

2023-01-05 Thread Matthias Koeppe
I see the following error in sagelib-*.log: #define LOCAL_HIREMAINDER register ulong hiremainder ^ sage/rings/polynomial/multi_polynomial_libsingular.cpp:35068:120: error: use of undeclared identifier 'pTakeOutComp1'; did you mean 'pTakeOutComp'?

Re: [sage-support] Re: WSL2 installation sage-ipython can't find packages

2022-10-17 Thread Matthias Koeppe
but this is quite >> error-prone. >> >> Please use conda, or build from source, or use Linux distro with much >> more up to date Sage, e.g. >> archlinux or Gentoo. >> >> >> HTH >> Dima >> >> >> >> >> On Fri, 14

[sage-support] Re: WSL2 installation sage-ipython can't find packages

2022-10-14 Thread Matthias Koeppe
Report Ubuntu packaging bugs to Ubuntu On Wednesday, October 12, 2022 at 10:17:31 PM UTC-7 kun.j...@gmail.com wrote: > Hi all, > > I'm trying to run sage on WSL2 (Ubuntu focal 20.04.5 LTS), and after a > fresh install (sadly only version 9.0), running `sage` gives the following > error. > > Mo

Re: [sage-support] Re: Citing Sage properly in a paper

2022-09-05 Thread Matthias Koeppe
On Monday, September 5, 2022 at 1:09:59 AM UTC-7 Dima Pasechnik wrote: > On Mon, Sep 5, 2022 at 4:06 AM Nils Bruin wrote: > > On Sunday, 4 September 2022 at 10:31:42 UTC-7 george...@gmail.com > wrote: > >> I am about to submit a math paper to a journal. I would like to include > a proper ci

[sage-support] Re: Sage 9.6 crash

2022-07-25 Thread Matthias Koeppe
>From the crash report: ImportError: libflint-2.8.5.so: cannot open shared object file: No such file or directory Likely, a system update (apt-get upgrade) removed this version of the shared library. Rebuild Sage from scratch. See also https://trac.sagemath.org/ticket/34203 On Monday, July 25

[sage-support] Re: Latte-int: throw(NotGenericException) not allowed by ISO C++17 during build

2022-07-07 Thread Matthias Koeppe
That's https://trac.sagemath.org/ticket/33981 On Thursday, July 7, 2022 at 7:13:35 AM UTC-7 maksm...@gmail.com wrote: > Hello, > > I'm building latte-distro on ubuntu 22.04 (windows 10 dual boot, Ryzen 7 > 5700h) for apt-installed sage 9.5 . ./configure executes properly but then > for make ch

[sage-support] Re: Sage build form source giac giac-1.6.0.47p3 failed to build, help with external packages

2022-07-07 Thread Matthias Koeppe
This looks like https://trac.sagemath.org/ticket/31403 On Thursday, July 7, 2022 at 6:20:11 AM UTC-7 maksm...@gmail.com wrote: > Hello, > > I'm working on Ubuntu 22.04, dual booted to Windows 10 on separate > partition. The linux build is currently entirely fresh, after reinstalling, > there's

[sage-support] Re: building SageMath on macOS

2022-06-28 Thread Matthias Koeppe
I've opened https://trac.sagemath.org/ticket/34098 for this On Tuesday, June 21, 2022 at 2:58:26 PM UTC-7 list...@gmail.com wrote: > > When building SageMath on macOS from source, I think it is important to > stress that > $ source .homebrew-build-env > must be done before > $ ./configure > (I h

[sage-support] Re: Brial error

2022-06-27 Thread Matthias Koeppe
>From config.log: configure:7443: checking for pkg-config configure:7466: found /mnt/c/Strawberry/perl/bin/pkg-config configure:7478: result: /mnt/c/Strawberry/perl/bin/pkg-config It's picking up pkg-config from your Windows install. Remote /mnt/c/Strawberry/perl/bin/ from your PATH, and/or i

[sage-support] Global Virtual Sage Days 112.358, June 1-3 - Call for Participation

2022-05-16 Thread Matthias Koeppe
An online event on open-source mathematical software with the SageMath user and developer community https://wiki.sagemath.org/days112.358 50 hours around the world Register today It's free -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsub

[sage-support] Re: Fedora 36 Update problem

2022-05-14 Thread Matthias Koeppe
Report Fedora packaging bugs to Fedora. On Saturday, May 14, 2022 at 1:14:00 PM UTC-7 marks...@googlemail.com wrote: > Hello all, > > I recently installed SageMath on my Fedora machine using dnf install > sagemath. > The install went fine and I can use the sage interactive shell just fine. > To

[sage-support] Re: Sage ImportError: canot load Singular library

2022-05-11 Thread Matthias Koeppe
Report Fedora packaging bugs to Fedora On Wednesday, May 11, 2022 at 3:23:15 AM UTC-7 jacovant...@gmail.com wrote: > I am running Fedora 36 (had the same issue in Fedora 35) on a Lenovo > IdeaPad. After installing sage using dnf I tried running it but it failed > due to: "ImportError: cannot lo

Re: [sage-support] ./sage -br fails

2022-04-26 Thread Matthias Koeppe
I have a fix in https://trac.sagemath.org/ticket/33587, please test On Monday, April 25, 2022 at 2:49:04 AM UTC-7 list...@gmail.com wrote: > > Thanks Matthias. > > This is on the latest develop branch. > > I have added a comment to the ticket you mention. > > Guillermo

Re: [sage-support] ./sage -br fails

2022-04-24 Thread Matthias Koeppe
Which version of Sage is this? We fixed a bug like this recently that showed up when the environment variable MAKE was set in a particular way. See also https://trac.sagemath.org/ticket/33587 On Sunday, April 24, 2022 at 3:17:08 AM UTC-7 list...@gmail.com wrote: > > Thanks, Maxime. > > Here is w

[sage-support] Re: Removing packages and different versions of python

2022-04-15 Thread Matthias Koeppe
On Friday, April 15, 2022 at 12:39:23 AM UTC-7 Jean-Florent Raymond wrote: > In order to test something I would like to remove from my sage install a > python package that I installed (and updated) some time ago. > > First question: > How can I remove a package installed with "sage -i"? I found

[sage-support] Re: OS X 12.3 intel: scipy fails to build

2022-03-17 Thread Matthias Koeppe
thing suspicious, for what that's worth. > > On Thursday, March 17, 2022 at 2:34:56 PM UTC-7 Matthias Koeppe wrote: > >> It would be worth checking whether "./sage -pip install -U pythran" or >> "./sage -pip install -U git+https://github.com/serge-sans-paille/

[sage-support] Re: OS X 12.3 intel: scipy fails to build

2022-03-17 Thread Matthias Koeppe
It would be worth checking whether "./sage -pip install -U pythran" or "./sage -pip install -U git+https://github.com/serge-sans-paille/pythran"; fixes this issue On Thursday, March 17, 2022 at 2:01:49 PM UTC-7 John H Palmieri wrote: > Since upgrading to OS X 12.3 a few days ago, along with the

[sage-support] Re: How to create a new virtual environment based on an existing sage installation

2022-03-12 Thread Matthias Koeppe
https://trac.sagemath.org/ticket/33440 fixes the problem and is waiting for review. On Tuesday, March 1, 2022 at 11:07:50 AM UTC-8 Matthias Koeppe wrote: > The particular error that you are running into comes from Singular not > being in PATH. > > Use "sage -sh" to

[sage-support] Re: How to create a new virtual environment based on an existing sage installation

2022-03-01 Thread Matthias Koeppe
The particular error that you are running into comes from Singular not being in PATH. Use "sage -sh" to enter a shell in which SAGE_LOCAL/bin has been added to PATH. Then you can activate the venv as you did before. On Tuesday, March 1, 2022 at 10:45:00 AM UTC-8 m.derick...@gmail.com wrote:

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread Matthias Koeppe
lly? > For example in sage.all we could do: "from numpy import mean, median". It > seems strange to not have a top-level "mean" or "median" function, given > all of the other esoteric top-level functions. > > > On Friday, February 25, 2022 at 10:2

Re: [sage-support] Re: SageMath on Microsoft Windows

2022-02-27 Thread Matthias Koeppe
+1 on adding info on how to install Linux distributions with up-to-date binary packages of Sage to our installation guide. See https://trac.sagemath.org/ticket/31485 (The updated installation guide, preview at https://6212659123a9467b3cb0cd07--sagemath-tobias.netlify.app/installation/index.html

[sage-support] Re: Basic Stats deprecated?

2022-02-26 Thread Matthias Koeppe
On Friday, February 25, 2022 at 10:52:19 AM UTC-8 mat...@gmail.com wrote: > Will Calculus be deprecated too? > See https://trac.sagemath.org/ticket/32260 for the next deprecation proposal. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To un

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Matthias Koeppe
On Friday, February 25, 2022 at 8:32:39 PM UTC-8 wst...@gmail.com wrote: > Also, if you want to argue that users should explicitly import > everything... No, that's not what I'm arguing. The deprecation of the basic_stats module happened because Sage has nothing to offer in this area; it's a

[sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Matthias Koeppe
If you consider numpy an obscure library, it may be that your syllabus needs updating On Friday, February 25, 2022 at 10:52:19 AM UTC-8 mat...@gmail.com wrote: > Mean, median and mode are now deprecated. E.g.: > > >median([1,2,3]) > 2 :1: DeprecationWarning: sage.stats.basic_stats.median is dep

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Matthias Koeppe
finds > the javascript file in some other path such as usr/local/jupyter and uses > that file instead. Of course a self-contained app cannot rely on anything > like that. > > - Marc > > On Wednesday, February 2, 2022 at 6:59:24 PM UTC-6 Matthias Koeppe wrote: > >>

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Matthias Koeppe
1:23 PM UTC-6 Marc Culler wrote: >>> >>>> No. I was referring to >>>> https://ipywidgets.readthedocs.io/en/latest/user_install.html which >>>> was Samuel's [more details here] link. >>>> >>>> Incidentally, following those instr

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Matthias Koeppe
On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote: > Of course Sage's venv is not a true virtualenv as created by venv, > It is actually a true venv, unless no system python can be used and Sage builds its own copy of python3. -- You received this message because you are s

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Matthias Koeppe
Marc, are you referring to these instructions? https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote: > So is Sage followin

[sage-support] Re: Segfault with conda installation of SageMath-9.3 and 9.4 on Mac OS X

2022-01-30 Thread Matthias Goerner
I now have repro steps that do not require SnapPy at all: Rx = PolynomialRing(RationalField(), 'x') R = PolynomialRing(Rx, 'y') R('-y^2 + x^2 - x + 1').resultant(R('(2*x - 1)*y')) On Saturday, January 29, 2022 at 11:19:38 PM UTC-8 Matthias Goerner

[sage-support] Segfault with conda installation of SageMath-9.3 and 9.4 on Mac OS X

2022-01-29 Thread Matthias Goerner
I am getting a crash when I am running SnapPy's https://github.com/3-manifolds/SnapPy test suite against SageMath with the stack trace below. I created several different conda environments, all with python 3.9.9, on Mac OS 11.5.2 x86_64 and it seems to be related to the (cy)pari version. That i

[sage-support] Re: Sage crash report

2021-12-09 Thread Matthias Koeppe
"make sagelib-clean" will fix this On Thursday, December 9, 2021 at 12:18:02 PM UTC-8 Emmanuel Charpentier wrote: > A recent upgrade of Debian testing seems to have broken Sage, which does > not find libgsl.so.25 Crash report attached. > > An attempt at make -b also fails (see attached install.

Re: Fwd: [sage-support] Sage 9.3 for Windows crashing

2021-09-23 Thread Matthias Koeppe
No, the 9.4 binaries have the same problem, as noted in https://wiki.sagemath.org/ReleaseTours/sage-9.4#Availability_as_binaries_and_in_distributions We have two tickets in the 9.5 development series that aim to fix this problem: - https://trac.sagemath.org/ticket/32424 (waiting for review) - h

[sage-support] Re: No module named 'sage.all_cmdline'

2021-09-14 Thread Matthias Koeppe
Report Ubuntu packaging bugs to Ubuntu. On Tuesday, September 14, 2021 at 10:50:56 AM UTC-7 mob...@gmail.com wrote: > I installed *"Sage"* on *Google Colab* > https://askubuntu.com/a/1159008/1033768 > > *via the command: * > > !sudo apt-get install build-essential m4 dpkg-dev > !sudo apt-get

[sage-support] Re: about Sage 9.3

2021-09-09 Thread Matthias Koeppe
This is a known issue with the binary distributions for Sage 9.3 and 9.4. See https://wiki.sagemath.org/ReleaseTours/sage-9.4#Availability_as_binaries_and_in_distributions Install from source instead. On Thursday, September 9, 2021 at 8:01:00 AM UTC-7 GÖKHAN SOYDAN wrote: > hello everybody, > I

[sage-support] Re: Function-call syntax deprecation

2021-09-09 Thread Matthias Koeppe
Instead of: gamma=vector([t,t^2,t^3]) use: gamma=vector([t,t^2,t^3]).function(t) Alternatively, keep gamma as is and use gamma(t=x) instead of gamma(x). On Thursday, September 9, 2021 at 1:18:52 PM UTC-7 Federico Galetto wrote: > Hello, I get a warning due to function-call syntax deprecation and

[sage-support] Re: Sage 9.4 crashes with Debian 11

2021-09-05 Thread Matthias Koeppe
Installed the binary distribution? Known to fail with some processors (https://trac.sagemath.org/ticket/32424). Try installing from source instead. On Sunday, September 5, 2021 at 8:22:16 AM UTC-7 Topaze wrote: > Hello. > > A quick recapitulation of my historic : > > Debian 10 + Sagemath 9.2 : O

[sage-support] Re: Sage 9.4_20.04 Ubuntu: error relocate-once.py

2021-09-03 Thread Matthias Koeppe
Thanks, I've noted this in https://wiki.sagemath.org/ReleaseTours/sage-9.4#Availability_as_binaries_and_in_distributions On Friday, September 3, 2021 at 3:02:47 AM UTC-7 Rolandb wrote: > Hi, > > Running the file 'relocate-once.py', I got an error: directory 'python' > not recognized. > Changin

Re: [sage-support] Sage Crash Report

2021-09-01 Thread Matthias Koeppe
a system > wide install? > > On Tuesday, August 31, 2021 at 4:22:10 PM UTC-5 Matthias Koeppe wrote: > >> On Tuesday, August 31, 2021 at 12:55:46 PM UTC-7 hbetx9 wrote: >> >>> On my system, python2 and python3 is installed, but there is no generic >>> pyt

Re: [sage-support] Sage Crash Report

2021-08-31 Thread Matthias Koeppe
On Tuesday, August 31, 2021 at 12:55:46 PM UTC-7 hbetx9 wrote: > On my system, python2 and python3 is installed, but there is no generic > python symlink. Does this need to be created for sage and if so should it > be python3? In installed from tarball, so this is not an issue with the > Ubuntu

Re: [sage-support] Re: after upgrade to 9.3, SignalError: Illegal instruction

2021-08-25 Thread Matthias Koeppe
I've opened https://trac.sagemath.org/ticket/32424 for this issue with Sage 9.4. On Wednesday, August 25, 2021 at 8:15:02 PM UTC-7 wst...@gmail.com wrote: > Hi, > > I release cocalc-docker ([1], [2]) a few days ago with sage-9.4, and had > people reporting back "illegal instruction" issues. S

[sage-support] Re: Does anyone know what this means?

2021-08-01 Thread Matthias Koeppe
The update to this (and other IPython/Jupyter tickets) is in https://trac.sagemath.org/ticket/31280 -- which needs help. On Tuesday, July 27, 2021 at 8:13:29 AM UTC-7 David Lowry-Duda wrote: > This comes from python-prompt-toolkit. See here: > https://github.com/prompt-toolkit/python-prompt-too

[sage-support] Re: What can I do to get sage not to compile numpy?

2021-07-17 Thread Matthias Koeppe
On Saturday, July 17, 2021 at 7:41:16 PM UTC-7 bluf...@gmail.com wrote: > Using dnf to install sagemath works on Fedora 34, but then /usr/bin/sage > gives > a weird error message. > Please report Fedora packaging bugs to Fedora. > Compiling sage from sage-9.2.tar.gz does not work. > Using

[sage-support] Re: polyhedra with strict inequalities and Ehrhart

2021-07-07 Thread Matthias Koeppe
On Wednesday, July 7, 2021 at 2:36:27 PM UTC-7 kcrisman wrote: > Normaliz already supports half-open polyhedra, see section 3.12 ("open >> facets") in the Normaliz manual >> see https://github.com/Normaliz/Normaliz/blob/master/doc/Normaliz.pdf >> > > Thank you! But, based on the tickets I've jus

[sage-support] Re: polyhedra with strict inequalities and Ehrhart

2021-07-07 Thread Matthias Koeppe
Normaliz already supports half-open polyhedra, see section 3.12 ("open facets") in the Normaliz manual see https://github.com/Normaliz/Normaliz/blob/master/doc/Normaliz.pdf On Wednesday, July 7, 2021 at 1:26:01 PM UTC-7 kcrisman wrote: > Thanks to the MUCH easier install now of things like pyn

[sage-support] Re: error building sage-9.3 from source

2021-05-19 Thread Matthias Koeppe
We'd need to see the top-level config.log corresponding to a failing build. On Wednesday, May 19, 2021 at 3:37:42 PM UTC-7 Greg Marks wrote: > > On a Debian 10 system, building sage-9.3 from source fails with this > > error: > > > > ... > > [dochtml] Traceback (most recent call last): > > [doch

[sage-support] Re: Trouble understanding `sage -optional` answer

2021-05-04 Thread Matthias Koeppe
On Tuesday, May 4, 2021 at 7:00:55 AM UTC-7 Emmanuel Charpentier wrote: > Trying to list the installed optional packages, I innocently typed : > > charpent@zen-book-flip:~$ sage -optional | grep -v not_instal > > The answer left me stimyed : > > /usr/local/sage-9/local/lib/python3.9/site-packages/

Re: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-07 Thread Matthias Koeppe
/Sage/sage-9.2/build/make' > >> make[1]: Leaving directory > `/net/dlp762/share/application-software/Sage/sage-9.2/build/make' > >> Nothing to (re)build / all up-to-date. > >> [lsf@dlp762 sage-9.2]$ > >> > >> I include the config log. &g

Re: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-05 Thread Matthias Koeppe
On Friday, March 5, 2021 at 4:08:34 PM UTC-8 Dima Pasechnik wrote: > Matthias, > is it another instance of not having .pc files ready for blas/lapack etc? > I don't think so. From Klaus' configure.log above, === Checking whether SageMath should install SPKG openblas... ch

Re: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-04 Thread Matthias Koeppe
OK, time to officially remove support for building with python 2.6 as sage-bootstrap-python - https://trac.sagemath.org/ticket/20023 (needs review). On Thursday, March 4, 2021 at 10:25:35 AM UTC-8 Dima Pasechnik wrote: > On Thu, Mar 4, 2021 at 6:18 PM Matthias Koeppe > wrote: > &g

Re: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-04 Thread Matthias Koeppe
Looks like we cannot bootstrap using Python 2.6 any more. The error seen in the log is: https://stackoverflow.com/questions/19668395/str-format-for-python-2-6-gives-error-where-2-7-does-not On Thursday, March 4, 2021 at 9:53:28 AM UTC-8 Dima Pasechnik wrote: > On Thu, Mar 4, 2021 at 5:08 PM

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Matthias Koeppe
As Dima said, please report bugs of distribution packaging of Sage to the distribution. On Monday, February 1, 2021 at 8:29:17 AM UTC-8 tiger...@gmail.com wrote: > I should also add this. > If from an ipython module I invoke `from sage.misc.misc_c import prod`, > everything works fine. > On the

[sage-support] Re: Error building fpylll from Sage 9.2 source

2021-01-22 Thread Matthias Koeppe
This failure on Cygwin has been fixed in https://trac.sagemath.org/ticket/31146 On Thursday, January 21, 2021 at 10:29:41 AM UTC-8 user...@gmail.com wrote: > While building Sage 9.2 from source, the `make` process throws an error > while building the "fpylll.config" extension. I believe the mos

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

2020-12-23 Thread Matthias Koeppe
On Wednesday, December 23, 2020 at 5:55:38 AM UTC-8 u...@ll.mit.edu wrote: > >>> the MacPorts-specific part would be to create a list of packages to >> install, and put it into build/pkgs/*/distros/macports >> and a similar global location. >> > > I'm not sure I understand what that means. > Yo

Re: [sage-support] Re: Building of sage 9.2 stopped with sagelib compilation - taking now system packages of Opensuse

2020-11-30 Thread Matthias Koeppe
On Monday, November 30, 2020 at 7:47:27 AM UTC-8 Dima Pasechnik wrote: > we should get opensuse tumbleweed properly supported, with CI. > > this entails listing the needed packages in build/pkgs/*/distros/ > like we do for Ubuntu, Fedora, etc. > >> >> Packages for opensuse are already up in https

[sage-support] Re: Building of sage 9.2 stopped with sagelib compilation - taking now system packages of Opensuse

2020-11-28 Thread Matthias Koeppe
The actual error is likely further up. This problem could just be the missing dependency of sagelib on giac, already fixed in https://trac.sagemath.org/ticket/30858 Try compiling the latest development version, or do "make giac && make" to work around the problem On Saturday, November 28, 2020 a

Re: [sage-support] Re: Building of sage 9.2 stopped with sagelib compilation - taking now system packages of Opensuse

2020-11-28 Thread Matthias Koeppe
Those who want to help with this problem may find https://trac.sagemath.org/ticket/30619 useful -- builds on this system can be reproduced using "tox -e docker-opensuse-tumbleweed-standard" On Saturday, November 28, 2020 at 10:23:52 AM UTC-8 Dima Pasechnik wrote: > please post the top-level co

[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Matthias Koeppe
On Tuesday, October 20, 2020 at 11:57:21 AM UTC-7, Carl Eberhart wrote: > > Thanks. After looking for the definition of of preparse_file it appears > that it is imported from a binary file. Will I have to download the source > and recompile to fix this? > Your code in orthogtraps19.sage like

[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-19 Thread Matthias Koeppe
On Monday, October 19, 2020 at 10:36:05 AM UTC-7, Carl Eberhart wrote: > > I can't load a sage file in either the notebook or terminal version of Sage > File "", line 121 > if s<>_sage_const_0 : > ^ > SyntaxError: invalid syntax > The syntax <> for "not equal" is no longer valid in

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

2020-09-02 Thread Matthias Koeppe
de 12, macOS 11 Big Sur" On Wednesday, September 2, 2020 at 8:19:37 AM UTC-7, John H Palmieri wrote: > > With a system Python and "make -k", the following packages fail: > > gf2x > ecm > symmetrica > rubiks > ecl > scipy > > On Tuesday, Septemb

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

2020-09-01 Thread Matthias Koeppe
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: Cannot find a

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

2020-09-01 Thread Matthias Koeppe
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: Cannot find a build system compiler > ". The ecm log file says "checking if globals are prefixed by > undersc

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

2020-09-01 Thread Matthias Koeppe
This fix was already merged in 3.8.4, so after https://trac.sagemath.org/ticket/27754 we should be fine. The PR for Python 3.7 is https://github.com/python/cpython/pull/21155, but our Python 3.7.x is very old already. On Tuesday, September 1, 2020 at 9:43:15 PM UTC-7, Matthias Koeppe wrote

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

2020-09-01 Thread Matthias Koeppe
The issue with "posixmodule" is apparently https://bugs.python.org/issue41100 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: Cannot find a build system c

[sage-support] Re: Sage Crash Report: `TypeError` upon startup (Sage 9.0.0)

2020-08-03 Thread Matthias Koeppe
Problems with the Ubuntu packaging should be reported as an Ubuntu bug. On Sunday, August 2, 2020 at 11:31:57 PM UTC-7, Samuel Tang wrote: > > Hi, > > Thanks for your quick response. I am running on Ubuntu 20.04, and > installed Sagemath via `sudo apt-get install sagemath`. > From what I recorded

[sage-support] Re: Sage 9.1 dependency problem

2020-07-28 Thread Matthias Koeppe
You could deactivate conda and try again. On Tuesday, July 28, 2020 at 8:33:38 PM UTC-7, Luis Enriquez-Contreras wrote: > > OS: Linux Mint 20 > > SageMath: sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 > > Hello all, I am trying to install sage 9.1, but I get this error after the > ./configure > configu

[sage-support] Re: Pillow compilation fails to find zlib headers

2020-07-10 Thread Matthias Koeppe
This is now https://trac.sagemath.org/ticket/30103 On Friday, July 10, 2020 at 7:42:45 AM UTC-7, Maxime Boissonneault wrote: > > Hi, > I am compiling Sage from source on Linux, on a supercomputer. Libraries > and headers are in non-standard locations. When the make tries to build > pillow, it fa

Re: [sage-support] Re: Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-29 Thread Matthias Koeppe
On Thursday, May 28, 2020 at 2:13:30 PM UTC-7, Dima Pasechnik wrote: > > On Thu, May 28, 2020 at 7:10 PM Matthias Koeppe > > wrote: > > > > On Thursday, May 28, 2020 at 7:21:35 AM UTC-7, ilyub wrote: > >> > >> The cygwin people seemed to have rem

Re: [sage-support] Re: Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-28 Thread Matthias Koeppe
On Thursday, May 28, 2020 at 7:21:35 AM UTC-7, ilyub wrote: > > The cygwin people seemed to have removed the physical file (xlocale.h) > from the cygwin distribution starting with version 3.1.1-1 > https://cygwin.com/packages/summary/cygwin-devel.html. > Because the include file is missing, sag

Re: [sage-support] How do you use SageMath in research, education, ...?

2020-05-26 Thread Matthias Koeppe
On Saturday, May 23, 2020 at 9:23:38 AM UTC-7, pedrito...@gmail.com wrote: > > Matthias, > In teaching, > > https://cursos-0-fc-ugr.github.io/Matematicas/derivadas-app-estudio-func-thebelab.html > > https://github.com/pedritomelenas/Algebra-conmutativa-y-computacional >

Re: [sage-support] Re: How do you use SageMath in research, education, ...?

2020-05-26 Thread Matthias Koeppe
On Tuesday, May 26, 2020 at 2:09:20 PM UTC-7, David Joyner wrote: > > > > On Tue, May 26, 2020 at 4:58 PM Matthias Koeppe > wrote: > >> >> There is now a schedule at >> https://researchseminars.org/seminar/SageDays109 >> > > Are the times liste

[sage-support] Re: How do you use SageMath in research, education, ...?

2020-05-26 Thread Matthias Koeppe
On Saturday, May 23, 2020 at 11:25:56 PM UTC-7, Matthias Koeppe wrote: > > On Saturday, May 23, 2020 at 12:18:08 PM UTC-7, Ingo Dahn wrote: >> >> Sounds like an interesting event, what is the intended audience? >> Developers? Researchers? Educators? >> > >

[sage-support] Schedule for Global Virtual SageDays 109 - May 27-29

2020-05-26 Thread Matthias Koeppe
update in 5 years! - Julian Rüth - Introduction to running SageMath in Docker - Matthias Köppe - Tutorial for developers: Portability testing of the Sage distribution using Docker and the Sage distro-package database - Haroldo G. Santos - On the design of Python-MIP: Why another Python

[sage-support] Re: How do you use SageMath in research, education, ...?

2020-05-23 Thread Matthias Koeppe
al event. We plan to record and make available presentations (when the presenters give us permission to do so.) Matthias -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails fr

[sage-support] How do you use SageMath in research, education, ...?

2020-05-22 Thread Matthias Koeppe
OK, I know how *I* use SageMath. But how do *you* use it? Let us know in the online SageMath User Forum. This is one of the activities of next week's *Global Virtual SageDays 109*, a 50-hour virtual event held May 27–29, 2020. Preliminary information and registration at https://wiki.sagemath.o

[sage-support] Re: equation solution in integer

2020-04-17 Thread Matthias Koeppe
http://doc.sagemath.org/html/en/reference/discrete_geometry/sage/geometry/polyhedron/base.html#sage.geometry.polyhedron.base.Polyhedron_base.integral_points On Friday, April 17, 2020 at 11:16:30 AM UTC-7, Bert Henry wrote: > > I tried it with > var('x, y') > assume(x,"integer") > assume(x>0) > ass

  1   2   >