Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
Can you upload the full log with `LD_DEBUG=libs` and jupyterlab somewhere and post a link? Isuru On Wed, May 31, 2023 at 3:46 PM Luis Finotti wrote: > Hello, > > Thanks for the help! > > On Wednesday, May 31, 2023 at 4:24:11 PM UTC-4 Isuru Fernando wrote: > > Try running

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
, in get >await super().get(kernel_id=kernel_id) > File "/usr/lib/python3/dist-packages/tornado/websocket.py", line 277, > in get >await self.ws_connection.accept_connection(self) > File "/usr/lib/python3/dist-packages/tornado/websocket.py", line

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
Try adding import sage.all to the top of /home/finotti/src/sage-10.0/src/sage/repl/ipython_kernel/__main__.py Isuru On Wed, May 31, 2023 at 5:23 PM Luis Finotti wrote: > > On Wednesday, May 31, 2023 at 6:10:42 PM UTC-4 Isuru Fernando wrote: > > Which givaro library is loaded

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
Which givaro library is loaded when you do `export LD_DEBUG=libs` and run sage from the command line? Isuru On Wed, May 31, 2023 at 5:02 PM Luis Finotti wrote: > > > On Wednesday, May 31, 2023 at 5:29:25 PM UTC-4 Isuru Fernando wrote: > > Does `import sage.all` in a

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
Does `import sage.all` in a sage shell work? Isuru On Wed, May 31, 2023 at 3:46 PM Luis Finotti wrote: > Hello, > > Thanks for the help! > > On Wednesday, May 31, 2023 at 4:24:11 PM UTC-4 Isuru Fernando wrote: > > Try running JupyterLab in a shell with `export LD_DEBUG=li

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
Try running JupyterLab in a shell with `export LD_DEBUG=libs` and import sage with that jupyterlab instance. That should tell you where givaro is loaded from. Isuru On Wednesday, May 31, 2023 at 2:46:14 PM UTC-5 Isuru Fernando wrote: > That's a different issue than this. > > Isuru &

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Isuru Fernando
That's a different issue than this. Isuru On Wed, May 31, 2023 at 2:37 PM Jan Groenewald wrote: > Hi > > This https://groups.google.com/g/sage-support/c/egP7I9eGLuI/m/MsUUNLEUAQAJ > suggests trying clang 14 for compiling sage or waiting for givaro compiled > with clang 15. > > (or just try

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

2023-05-31 Thread Isuru Fernando
This is an ABI incompatibility with clang 14 and 15 where givaro was compiled with 14 and sage was compiled with 15. I suggest downgrading to clang 14 or set flags like https://github.com/conda-forge/sagelib-feedstock/blob/5542b278f642b772ae243b323c7cbc7a170a5f9a/recipe/build.sh#L21-L25 until we

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

2023-03-27 Thread Isuru Fernando
s and sirocco, but they are not installed by default when you install sage. You need to install bliss and sirocco to get that functionality. Isuru On Mon, Mar 27, 2023 at 8:35 PM Nils Bruin wrote: > On Monday, 27 March 2023 at 17:47:54 UTC-7 Isuru Fernando wrote: > > > We used to h

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

2023-03-27 Thread Isuru Fernando
Hi, > However: https://anaconda.org/conda-forge/sage seems to indicate that various architecture-specific builds are woefully outdated: "noarch" seems to be on point, but the architecture-specific ones seem stuck on 9.2. Am I reading the info wrong? Obviously I don't want to point people to 9.2

Re: [sage-support] Sage Crash Report

2022-08-22 Thread Isuru Fernando
Can you try the following? conda install mamba -n base conda config --add channels conda-forge conda config --set channel_priority strict mamba create -n sagetest sage conda activate sagetest sage On Sun, Aug 21, 2022 at 6:24 PM Robert Parini wrote: > Using conda on macOS 12.4 (with Apple

Re: [sage-support] Sage Crash Report

2022-08-21 Thread Isuru Fernando
Can you share the output of the following command? conda list -n sagetest On Sun, Aug 21, 2022 at 6:24 PM Robert Parini wrote: > Using conda on macOS 12.4 (with Apple silicon) I get the attached error > after installing sage with: > > conda create -n sagetest sage > conda activate sagetest >

Re: [sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-09 Thread Isuru Fernando
conda activate sage-build should do the trick. Isuru On Mon, May 9, 2022 at 6:03 AM Dima Pasechnik wrote: > > > On Mon, 9 May 2022, 11:49 harald@gmail.com, > wrote: > >> ... or add it to the PATH, I suppose. But how do I find it now? > > > searching config.log for tachyon gives > >

Re: [sage-support] linbox compilation failed (9.4.beta3, conda)

2021-06-28 Thread Isuru Fernando
sagemath? > > Vincent > > Le 28/06/2021 à 16:58, Isuru Fernando a écrit : > > Can you try passing `--with-ocl=no` to linbox's configure? > > > > Isuru > > > > On Mon, Jun 28, 2021 at 9:44 AM Vincent Delecroix < > 20100.delecr...@gmail.com> > >

Re: [sage-support] linbox compilation failed (9.4.beta3, conda)

2021-06-28 Thread Isuru Fernando
Can you try passing `--with-ocl=no` to linbox's configure? Isuru On Mon, Jun 28, 2021 at 9:44 AM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Dear all, > > I am not able to compile the sage source code in a conda environment > (build failure with linbox). You will find all log files

Re: [sage-support] Unable to import Normaliz

2021-06-06 Thread Isuru Fernando
You need to install `pynormaliz` by doing `conda install pynormaliz`. Isuru On Sun, Jun 6, 2021 at 8:56 AM Dima Pasechnik wrote: > you should do these installations at conda prompt, > not at Sage's prompt. > > On Sun, 6 Jun 2021, 13:10 Hriday Bharat Thakkar, > wrote: > >> This is an update. I

Re: [sage-support] Sage Crash Report

2021-03-24 Thread Isuru Fernando
Mike, Can you try creating a new conda environment? This is an issue with the latest givaro build we had and we marked it as broken. Details at https://github.com/conda-forge/givaro-feedstock/issues/13 (You could also try doing `conda install "givaro=4.1.1=h192cbe9_1"` to get the older link.)

Re: [sage-support] problems again installing Sage9.1 (and 9.2)

2021-03-18 Thread Isuru Fernando
> (Not sure whether with Conda one would get it, or it's not in Conda) It's not in conda. We have almost all the gap packages except for a few problematic ones. (compile failures) `kbmag` is one of them.

Re: [sage-support] Apple M1 Chip

2020-12-19 Thread Isuru Fernando
Yes, I managed to cross compile quite a few. What remains is at https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/status/armosxaddition.svg?sanitize=true Isuru On Sat, Dec 19, 2020 at 7:27 AM Dima Pasechnik wrote: > > > On Fri, 18 Dec 2020, 18:27 Isuru Fernand

Re: [sage-support] Apple M1 Chip

2020-12-18 Thread Isuru Fernando
miniforge, a conda installer by conda-forge works fine on Apple silicon chips with native binaries. You can install python 3.8 and 3.9. packages like python, numpy, scipy, notebook, scikit-image are known to work. See https://github.com/conda-forge/miniforge Isuru On Thu, Dec 17, 2020 at 12:36

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

2020-11-04 Thread Isuru Fernando
Looks to me like you are using gcc,g++ from the system and ar, ranlib from homebrew. Can you try switching all to system or all to homebrew? Isuru On Wed, Nov 4, 2020 at 3:09 PM phiparis19 wrote: > /usr/bin/gcc > > /usr/bin/g++ > > /usr/local/bin/ar > > /usr/local/bin/ranlib > > >

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

2020-11-04 Thread Isuru Fernando
What do you get for each of the commands? which gcc which g++ which ar which ranlib gcc -print-prog-name=ld file /Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a Isuru On Wed, Nov 4, 2020 at 2:30 PM phiparis19 wrote: > Here is the file > Thank you > > Le

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

2020-11-04 Thread Isuru Fernando
> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 ) Can you send `gf2x`'s `config.log`? This happens

Re: [sage-support] Re: Jupyter kernels for R, gp, gap, etc

2020-08-04 Thread Isuru Fernando
I suggest installing sage through conda. https://doc.sagemath.org/html/en/installation/conda.html Conda is a package manager that runs on linux and osx and sagemath is available as a binary package. There are lots of jupyter kernels pre-packaged, so it's only a matter of typing, conda

Re: [sage-support] Sage Crash Report

2020-04-13 Thread Isuru Fernando
Looks like you are using ccache, but CCACHE_DIR is not pointing to the scratch folder. Delete $HOME/.ccache and set CCACHE_DIR env variable to some place like /scratch/user/hhuang235/.ccache Isuru On Mon, Apr 13, 2020 at 8:45 PM HANG HUANG wrote: > Thanks very much for your reply. In fact, my

Re: [sage-support] Sage Crash Report

2020-03-18 Thread Isuru Fernando
No, it doesn't require sudo privileges. It can be installed in your home directory. Isuru On Wed, Mar 18, 2020 at 8:05 PM wrote: > Hi! > Thanks for responding! Will this require any administrative permissions? > I do not have any sudo privileges. > > On Mar 18, 2020, at

Re: [sage-support] Sage Crash Report

2020-03-18 Thread Isuru Fernando
One alternative to installing sage is by using the conda package manager. https://github.com/conda-forge/miniforge#download It's know to work on CentOS 6 and above. See https://github.com/conda-forge/sage-feedstock#installing-sage Isuru On Wed, Mar 18, 2020 at 6:00 PM Kashif Bari wrote: > I am

Re: [sage-support] Sage not loading after conda install (Catalina)

2020-01-06 Thread Isuru Fernando
I'm not a Mac user, so not sure about what's needed. Can you try the solution in https://support.apple.com/en-gb/guide/mac-help/mh40616/mac or https://community.wappler.io/t/solving-python-error-in-macos-catalina-when-using-docker/13497 ? Isuru On Mon, Jan 6, 2020 at 3:51 PM Christian Bean

Re: [sage-support] Re: Sage Crash Report: Missing symbols in conda build for macOS?

2019-11-19 Thread Isuru Fernando
Hi, Can you try doing the following? conda install -n sage27 "pynac=0.7.26=py27ha01bd41_0" Isuru On Tue, Nov 19, 2019 at 11:23 AM Michael Boyle < michael.oliver.bo...@gmail.com> wrote: > Sure. Here it is: > > > conda list > # packages in environment at >

Re: [sage-support] Ubuntu 18.04 binaries for Sage 8.9?

2019-10-18 Thread Isuru Fernando
On Thu, Oct 17, 2019 at 12:31 PM henri.gir...@gmail.com < henri.gir...@gmail.com> wrote: > I tried sage conda is not really recent too and didn't work for me on > ubuntu > What was the issue with the conda package? If you report the problems, then we can fix them. Isuru > > The best is to

Re: [sage-support] Re: A case of immaculate conception...

2019-03-20 Thread Isuru Fernando
Hi Simon, Yes, that's what I meant. I see it as a problem because if you had a python variable x, it will be overwritten by the symbolic value. Isuru On Wed, Mar 20, 2019, 4:25 AM Simon King wrote: > Hi Isuru, > > On 2019-03-19, Isuru Fernando wrote: > > If the sage preparse

Re: [sage-support] Re: A case of immaculate conception...

2019-03-19 Thread Isuru Fernando
If the sage preparser did something like, __tmp__ = SR.var("x, y"); __tmp_g__ = lambda x, y: symbolic_expression(x+y**Integer(2)).function(x,y); f = __tmp_g__(*__tmp__) for f(x, y) = x + y ** 2 you wouldn't have this problem and it should be easy enough to change in the preparsesr. Isuru On

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

2019-02-19 Thread Isuru Fernando
This is a known issue with the conda package as the sage package hasn't been updated yet for the new compiler runtimes on conda-forge. Try, conda create -n sage sage -c conda-forge/label/cf201901 Isuru On Tue, Feb 19, 2019 at 1:11 PM Douglas Webster < douglas.webster2...@gmail.com> wrote: > >

Re: [sage-support] Scipy 1.1.0 instead of 1.2.0 built for Sage 8.6 ??? ALso cannot find libgfortran???

2019-01-30 Thread Isuru Fernando
What's your binutils version? (You can find that out by doing "ld --version") Isuru -- 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

Re: [sage-support] Sage Crash Report

2018-11-18 Thread Isuru Fernando
Ah, that package was marked broken. conda-forge and defaults channels are not ABI compatible, (it'll be in a month or so once the conda-forge rebuild is done) You should prioritize conda-forge over defaults and see what happens. Let me know if it doesn't work and I'll send you the env file for a