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 other hand, `from sage.rings.all import RealField` works well 
> inside ipython, but produce a different error from a source file.
> Relevant link https://pastebin.com/AMfd0hhh
> On Monday, 1 February 2021 at 14:50:47 UTC+1 dim...@gmail.com wrote:
>
>> This has to be reported to Arch people. 
>>
>> On Mon, Feb 1, 2021 at 1:39 PM Simone Perriello  
>> wrote: 
>> > 
>> > 
>> > Operating system: ArchLinux. 
>> > Sage installed through official packages. 
>> > If I just launch `sage` from terminal it gives this stacktrace 
>> https://pastebin.com/s1FnMhe2 
>> > 
>> > The same happens if I try to do a `from sage.all import *` from 
>> ipython, from a python file or from sage -python. 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "sage-support" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to sage-support...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/09226af6-af8a-4353-bfbc-87bab86c3603n%40googlegroups.com.
>>  
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6f8fcaef-3ec1-4a03-b50d-6b10ac92c945n%40googlegroups.com.


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

2021-02-01 Thread Simone Perriello
I should also add this.
If from an ipython module I invoke `from sage.misc.misc_c import prod`, 
everything works fine.
On the other hand, `from sage.rings.all import RealField` works well inside 
ipython, but produce a different error from a source file.
Relevant link https://pastebin.com/AMfd0hhh
On Monday, 1 February 2021 at 14:50:47 UTC+1 dim...@gmail.com wrote:

> This has to be reported to Arch people.
>
> On Mon, Feb 1, 2021 at 1:39 PM Simone Perriello  
> wrote:
> >
> >
> > Operating system: ArchLinux.
> > Sage installed through official packages.
> > If I just launch `sage` from terminal it gives this stacktrace 
> https://pastebin.com/s1FnMhe2
> >
> > The same happens if I try to do a `from sage.all import *` from ipython, 
> from a python file or from sage -python.
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-support...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/09226af6-af8a-4353-bfbc-87bab86c3603n%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6c76f187-b523-42de-a2a6-cc7dbd0056b8n%40googlegroups.com.


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

2021-02-01 Thread Dima Pasechnik
This has to be reported to Arch people.

On Mon, Feb 1, 2021 at 1:39 PM Simone Perriello  wrote:
>
>
> Operating system: ArchLinux.
> Sage installed through official packages.
> If I just launch `sage` from terminal it gives this stacktrace 
> https://pastebin.com/s1FnMhe2
>
> The same happens if I try to do a `from sage.all import *` from ipython, from 
> a python file  or from sage -python.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/09226af6-af8a-4353-bfbc-87bab86c3603n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0R0dNpy4oXc7a%3D7hRbHe3h8fYAy3KytnFqG80F2Z0oCA%40mail.gmail.com.


[sage-support] Import error for lrcalc library

2021-02-01 Thread Simone Perriello

Operating system: ArchLinux.
Sage installed through official packages.
If I just launch `sage` from terminal it gives this stacktrace 
https://pastebin.com/s1FnMhe2

The same happens if I try to do a `from sage.all import *` from ipython, 
from a python file  or from sage -python.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/09226af6-af8a-4353-bfbc-87bab86c3603n%40googlegroups.com.


Re: [sage-support] Can't Build From Sage Source on Ubuntu

2021-02-01 Thread Dima Pasechnik
On Mon, Feb 1, 2021 at 10:22 AM Derick Swodnick  wrote:
>
> Hello! I am trying to build from Sage source code in Ubuntu, but 
> unfortunately I get this error.
>
>
> [..]
> rm -f config.log
> mkdir -p logs/pkgs
> ln -s logs/pkgs/config.log config.log
> 
> error: Sage source tree is unconfigured. Please run "./configure" first.
> note:  Type "./configure --help" to see the available configuration options.
> 
> Makefile:46: recipe for target 'build/make/Makefile' failed
> make[1]: *** [build/make/Makefile] Error 1
> make[1]: Leaving directory '/root/sage'
> Makefile:31: recipe for target 'base-toolchain' failed
> make: *** [base-toolchain] Error 2
>
>
> My build steps:
>
> cd root
>
> git clone -c core.symlinks=true --branch master 
> https://github.com/sagemath/sage.git
>
> cd sage
>
> make
>
> Help me figure out what exactly am I doing wrong?

See above:
Please run "./configure" first.

By the way, you should not build Sagemath (or any other software, in
fact) as root.

>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/3254f805-a5d0-454b-931d-f1ad9fcada82n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq2b7Fp9xuw0J-6XKY3pKPDCrMgh8S7UrnR%2Bcfvykyjc%2BQ%40mail.gmail.com.


Re: [sage-support] what do i need to run sage in linux directly from usb boot

2021-02-01 Thread Dima Pasechnik
On Mon, Feb 1, 2021 at 6:36 AM dan hayes  wrote:
>
> i have heard running in WSL are slower and extra delays compared to other 
> possibilities. If nothing else and i ended up buying one of those advertised 
> "Xtra-PC" usb's already with linux is it easy to insall sagemath on one of 
> those ?

Provided the usb is big enough (you'd need at least 10-15 Gb extra for
a complete installation of
Sagemath), it should not be different to installing Sagemath on Linux.
I wouldn't take anything smaller than a 64-Gb usb stick.
An extra problem might arise as these distros tend to be aimed at old
underpowered machines, thus being
quite unusual Linux distributions.

What does prevent you from making such a stick yourself? These Xtra-PC
Linux sticks sell for 8-10 times the price of
an emply usb stick. For that price you can buy a 256Gb  SSD drive with
an USB connector,
which is almost as good as an internal drive in terms of speed and reliability.





>
> On Sunday, January 31, 2021 at 6:37:39 AM UTC-6 dim...@gmail.com wrote:
>>
>> On Sat, Jan 30, 2021 at 3:27 PM dan hayes  wrote:
>> >
>> > what is all this talk about download binaries, usb key, iso and all that ? 
>> > what do i need to make a bootable usb with linux and sage complete and 
>> > NOTHIng else. what is the difference between binaries , key, iso and usb 
>> > key why do u not have just one file setup.exe? also i already have and am 
>> > using maxima on windows with many problems and would like to switch to 
>> > linux for efficiency but i have heard sage can also make use of some 
>> > things in maxima if not available in sage.
>> >
>>
>> I suppose you can try https://www.sagemath.org/download-liveusb.html
>> (that's a 2 years old Sage version, but OK for a try, I suppose)
>>
>> If you run Windows on a sufficiently powerful machine, with WSL, you may try
>> running Sage in WSL (Ubuntu distributions there have Sage packages)
>>
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "sage-support" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to sage-support...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sage-support/a82bb595-3f3d-4524-b6a1-61c245947186n%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/1744aff4-9c62-4d4a-a168-aa50870fb4f8n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0612qmMCQqjWX%3DCuWLgS_jWmwokJ-Aaf1JMzfMTcxd7w%40mail.gmail.com.


[sage-support] Can't Build From Sage Source on Ubuntu

2021-02-01 Thread Derick Swodnick
Hello! I am trying to build from Sage source code in Ubuntu, but 
unfortunately I get this error.


[..]
rm -f config.log
mkdir -p logs/pkgs
ln -s logs/pkgs/config.log config.log

error: Sage source tree is unconfigured. Please run "./configure" first.
note:  Type "./configure --help" to see the available configuration options.

Makefile:46: recipe for target 'build/make/Makefile' failed
make[1]: *** [build/make/Makefile] Error 1
make[1]: Leaving directory '/root/sage'
Makefile:31: recipe for target 'base-toolchain' failed
make: *** [base-toolchain] Error 2


*My build steps:*

cd root

git clone -c core.symlinks=true --branch master 
https://github.com/sagemath/sage.git

cd sage

make

Help me figure out what exactly am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3254f805-a5d0-454b-931d-f1ad9fcada82n%40googlegroups.com.