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

2019-10-17 Thread henri.gir...@gmail.com

I tried sage conda is not really recent too and didn't work for me on ubuntu

The best is to compile it when possible

Le 17/10/2019 à 18:37, Dima Pasechnik a écrit :

On Thu, Oct 17, 2019 at 5:27 PM Tom Flyer  wrote:

I can't find any Ubuntu 18.04 binary for Sage 8.9 on the mirrors listed at 
http://www.sagemath.org/download-linux.html.
Are there any issues in creating these binary?

the only issue is the absence of a building host running Ubuntu 18.04
in our automatic binaries building system, run by a very small (about
1 person, I gather)
team of volunteers...
Just build it from source, it should be very easy, or use
an alternative package manager (e.g. conda, nix, etc...)


--
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/14914c8f-d8e2-4b52-97bb-87ebd0d03350%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/d7706b33-717b-808b-279f-ee0ca035d004%40gmail.com.


Re: [sage-support] Sage crashes on startup

2019-10-17 Thread henri.gir...@gmail.com
Ubuntu and sagemath are not really in phase... I am using 19.10 the 
coming one and I compile sagemath. But the good way too is to download 
the binary (latest one 8.9) and uncompressed it in your home you will 
have a sage repertory,


after you do a link  sudo  ln -s /your sage dir/sage /sage /usr/bin/sage

But you can use it at local too.

Le 17/10/2019 à 11:40, Dima Pasechnik a écrit :

Hello,
I presume this is Sage installed as a standard Ubuntu 18.04 package, right?
What version of Sage is this?
https://packages.ubuntu.com/bionic/sagemath says it's 8.1
This is very old, no wonder it's broken.
The current stable Sage version is 8.9.

Hopefully people at sage-packaging (at cc:) could tell you a better
way to get a binary installation of Sage on Ubuntu 18.04 (or just
build it from source...)

HTH
Dima

On Thu, Oct 17, 2019 at 10:19 AM Jonas von der Heyden
 wrote:

Find the crash report attached. I hope someone can help.

--
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/21c9860b-5fe4-4f78-bc54-75c89106a776%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/3f7e1952-6a69-85ff-3140-495f0e013f0d%40gmail.com.


Re: [sage-support] How to go from .sage to .pyc?

2019-10-16 Thread henri.gir...@gmail.com

Use jupyterlab and hide code

Le 16/10/2019 à 21:37, Dima Pasechnik a écrit :



On Wed, 16 Oct 2019, 20:09 pong, > wrote:


That's exactly what I want (hiding sources codes from users).

I'm teaching a class where the students need to implement some
algorithms on graphs but I would like to distribute those
functions in advance so that they can play with it and see what's
the expected output before writing their owns.

So how can I save those pyc files generated by sage separately and
have them run inside a session?


I think if you make your *.sage scripts more "pytonic", so that they 
can be imported by Python "import" statements, then it would suffice 
to supply *.pyc files only.


Thanks in advance


On Wednesday, October 16, 2019 at 12:02:00 PM UTC-7, Dima
Pasechnik wrote:

On Wed, Oct 16, 2019 at 6:18 PM pong  wrote:
>
> I have a bunch of old scripts in .sage files. They were
compiled into .pyc files years ago.

*.sage files are preparsed by sage preparser, and converted
into *.py files.
Conversion into *.pyc files is done automatically, as *.py
files are
loaded into Sage's Python interpreter.

One cannot load() or attach() *.pyc files, as far as I know -
but why
would you need this?
(unless you want to hide the source of your *.sage scripts
from the user)

HTH
Dima

>
> Unfortunately, I only remember that I ran sage --preparse on
the .sage files and got them into .py files but forgot what next.
>
> I tried import py_compile in sage then ran
py_compile.compile('xxx.py') which gave me a .pyc file but I
couldn't load it or attach it to sage.
>
> I understand one can change the file extension to .spyx and
have sage to compile it by loading it into a session but I
would like the pyc files by themselves.
>
> Can I get some help on this?
>
> --
> 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-s...@googlegroups.com.
> To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/f28af744-043a-4100-b965-ce5642887512%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/50e388e8-49e4-41f7-b042-708700c3e653%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/CAAWYfq3ChRDHD1-tM4qqZ%2BczBtT_OhCotXFH%3DYeW_do%2B%2B3UvWQ%40mail.gmail.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/392895b1-1fef-c262-5c8c-2385dbb477ac%40gmail.com.


Re: [sage-support] sage integrate in lyx

2019-06-06 Thread henri.gir...@gmail.com

A little progress, the plot function works but no output for equations

Le 06/06/2019 à 14:54, HG a écrit :

I tried sage in lyx from this web site
https://dirkmittler.homeip.net/blog/archives/6034
after doing (i think) everything I haven't sagetex answer as in

https://wiki.lyx.org/uploads/Modules/Sage/

Did somebody tried it ?

Any help welcome, I want to write a book with lyx and examples from 
sage, I used texmacs before and I want to see which sage session is 
best either in texmacs or lyx because jupyter notebook are not so good 
for editing... printing.


HG
--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/8e773825-2505-434d-ad79-0876bf02c80c%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/f6ca819b-ec32-9f70-60f3-8f3023ef7e2a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: how to do ?

2019-05-25 Thread henri.gir...@gmail.com
I did your command and it is compiling. My problem was I have two 
sagemath, and I forget to do ./sage


thanks it works

Le 25/05/2019 à 20:39, John H Palmieri a écrit :



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
...
[database_odlyzko_zeta-20061209] Successfully installed 
database_odlyzko_zeta-20061209

[database_odlyzko_zeta-20061209] Deleting temporary build directory
[database_odlyzko_zeta-20061209] 
/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-8.8.beta6/local/var/tmp/sage/build/database_odlyzko_zeta-20061209
[database_odlyzko_zeta-20061209] Finished installing 
database_odlyzko_zeta-20061209.spkg

...
--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/fc39d6e6-19ec-4512-a9b4-6c37fe42402a%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/2f2d4b42-67b2-97e1-5d4f-67714647de9c%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sage-support] how to do ?

2019-05-25 Thread henri.gir...@gmail.com

sage -i database_odlyzko_zeta

doesn't work in sagemath-8.8beta6 ?

How can I do it ?

--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/fbd742db-29dc-5416-31d6-5c8caf74669a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] SageMath 8.7 crashed in WSL Ubuntu after installation

2019-05-16 Thread henri.gir...@gmail.com
I guess he uses sudo to install the sagemath deb package as he is using 
the nativ (!) one... But sorry for insisting, the last version of sage 
on the web site is much more recent and can be used in home .


Le 16/05/2019 à 10:39, Dima Pasechnik a écrit :

On Thu, May 16, 2019 at 7:55 AM 刘鹏  wrote:

Q1

why did you use sudo ?

This appears to be completely unnecessary.


I am sorry for showing that. But now, I can use sagemath with this command in 
.bashrc
alias sage=''sudo ~/SageMath/sage'
I think this is because I use sagemath the first time with sudo. I don't know 
what happened during I running sagemath the first time.

This is because Sage maintains a data cache in ~/.sage/
Running Sage with sudo created/updated files in ~/.sage/ with wrong
(i.e. root) ownership,
It might have also changed ownerships of some files in
~/SageMath/local/ - although this is less likely.

You can see ownerships in ~/.sage/ by running "ls -alR  ~/.sage/", and
similarly for ~/SageMath/

You can (actually, you should) change ownerships back to your "normal" user
bu running "sudo chown -R ~/.sage/   "
and "sudo chown -R ~/Sage/  "
(where  should be replaced by your real username, -
something that on "real" Linux systems
is printed by the command "whoami")

This is assuming that "chown" actually works on WSL as it should...

Then it should not be necessary to use "sudo" any more.

Using "sudo" is a bad idea in such a case, e.g. as in Python you have
full access to the file system, so you can accidentally destroy your
WSL installation.

Let us know if all this makes sense and works.


Q2

and does it still work if you don't use the alias?

alias just replace the command. There is no different between alias the the 
original command.

Q3

Anyhow, we need a detailed bug report if you like us to look at it
("it crashed" is not enough - we need to see error messages, relevant
log files, etc)

I am sorry for my issue not so detailed. I use sagemath to do the experiment in 
my bachelor thesis. This PC for doing experiment still in the lab. I will come 
back to run the installation again and get the log file.

Thanks.

Dima Pasechnik  于2019年5月15日周三 下午3:14写道:

On Tue, May 14, 2019 at 10:16 PM 刘鹏  wrote:

Dear my friends,

After I installed the sagemath 8.7 in Windows Subsystem for Linux Ubuntu 18.04, 
crash happend.

(decomperssed ==> move folder to my home directory ==> sudo ./sage).

why did you use sudo ?
This appears to be completely unnecessary.


When I first finished the installation, the first running is very normal. However when 
the second time I add "alias sage='~/SageMath/sage'" and type sage in terminal, 
it crashed.

and does it still work if you don't use the alias?

Anyhow, we need a detailed bug report if you like us to look at it
("it crashed" is not enough - we need to see error messages, relevant
log files, etc)


what happened here? Is WSL not so stable or the bugs in Sage 8.7 made the crash?

--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADUebW4jES4_6HJLoVAs9tFwUKBgCuGZ0d_rfJkH80r0OxLwZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq279USRuNPPmWCX8XjqEFg1BA8TdcthQJv%3D3yzLCi8rfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADUebW72vzxz-2hWkPcf%3DKcQjvNceOY_Sv2kooL__JhyD7eh6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group a

Re: [sage-support] Re: infos

2019-04-11 Thread henri.gir...@gmail.com
thank you. This time I could do it but sagemath didn't run ... Now I am 
trying to get back sage 8.1 but I think I will have to reinstalled many 
things... It makes a swap error... I will delete and start on a new trial


Le 11/04/2019 à 13:30, Samuel Lelièvre a écrit :

You may have to install bzip2 and maybe libbz2-dev

 sudo apt-get install bzip2 libbz2-dev

Then you should be able to extract with

 tar xjf sage*.bz2

or simply

 tar xf sage*.bz2



--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: infos

2019-04-11 Thread henri.gir...@gmail.com
Thank you. I tried already this option because that's what I often do on 
bionic linux, but I have a problem in wsl ubuntu : It can't decompress ?


tar xvfj sage stopped whitout any message ?


Le 11/04/2019 à 02:14, slelievre a écrit :



Le mercredi 10 avril 2019 21:59:52 UTC+2, HG a écrit :
>
> I read that we can run ubuntu linux (or other linux) on w10 wsl,
> I install it and as it is a bash I installed xming, after installing
> bionic sagemath 8.1.6 (which is quiet old) I run it on windows 10
> through the bash, personaly i found it quicker that the windows-sage
> version, but I haven't yet tested it to see if it's improving the use of
> sage on w10.
>
> But in all it's a good way to run linux on w10

Hi Henri,

thanks for reporting. Note that, if you installed Ubuntu using
the Windows Subsystem for Linux, then as an alternative to

    apt install sagemath

which gives you SageMath 8.1, you could use the SageMath
binary for Ubuntu from the Sage download page at

http://www.sagemath.org/download-linux.html

(Choose a mirror close to you, then select 64-bit, then
download sage-8.7-Ubuntu_18.04-x86_64.tar.bz2
either using the torrent link, which should be the fastest,
or by clicking sage-8.7-Ubuntu_18.04-x86_64.tar.bz2.)

This way you get the latest version of Sage for the
Ubuntu you installed in the WSL.

Some have also reported success in compiling SageMath
from source in Ubuntu in WSL, so you could get the latest
development version, currently Sage 8.8.beta1.

Samuel
--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] infos

2019-04-10 Thread henri.gir...@gmail.com

Hi,

I read that we can run ubuntu linux (or other linux) on w10 wsl, I 
install it and as it is a bash I installed xming, after installing 
bionic sagemath 8.1.6 (which is quiet old) I run it on windows 10 
through the bash, personaly i found it quicker that the windows-sage 
version, but I haven't yet tested it to see if it's improving the use of 
sage on w10.


But in all it's a good way to run linux on w10

Henri

--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: How to graph on Sage

2019-04-05 Thread henri.gir...@gmail.com

I would recommend too bard and perry

http://www.people.vcu.edu/~clarson/bard-sage-for-undergraduates-2014.pdf

https://www.math.usm.edu/dont_panic/draft12.pdf

You are a lucky man they are in english !




Le 05/04/2019 à 09:20, Emmanuel Charpentier a écrit :
This kind of question translates to "I'm too lazy to search, so do my 
homework for me", and deserves a big fat RTFM 
, possibly also possibly pointing to a good 
book .


Le vendredi 5 avril 2019 04:55:46 UTC+2, Jayro Marin a écrit :

Hi, I'm in linear this semester and they are making us use sage. I
need help finding a way to code a a vector on a line of an
equation. Any help would be great Thank you.

--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-29 Thread henri.gir...@gmail.com
Or apt.  I think too you should build it if you have enaugh system. You 
can install sagemath-8.1 from ubuntu so you get all dependencies, but 
that's not the best way, better use the link above. I use : sage -sh to 
install pip programms but don't forget to exit after... In ubuntu it's 
quiet easy to install all python and sage, but sage is a bit old 
sage-8.1 and personnally I have problems with this version, I would like 
to make my own deb but I didn't success yet.


Le 30/03/2019 à 03:21, Jose Garcia a écrit :

I used aptitude on Ubuntu 18.04. Do you think that’s my only other option?

On Fri, Mar 29, 2019 at 7:50 PM slelievre > wrote:


Did you install Sage using a package manager
(Aptitude, Conda, ...)? Not sure how installing
optional packages on top of such installations
of SageMath work.

I would suggest building from source, with the
extra benefit that you can get SageMath 8.7.
Follow the instructions at

http://doc.sagemath.org/html/en/installation/source.html
-- 
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 post to this group, send email to sage-support@googlegroups.com
.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] how do i get properly formatted sage output when running from emacs or commandline?

2019-03-28 Thread henri.gir...@gmail.com

What don't you like in jupyter notebook ?

sage -n=jupyter

Can you show your nice syntax hightliting from emacs ?

sagenb will not continue I do agree that the editor was better than in 
jupyter, but may be I don"t know how to use it properly ?


Nice books are done with jupyter notebook

Le 28/03/2019 à 20:27, Andreas Schuldei a écrit :

Hi,

I used to use cocalc for my sage needs, but I would perfer using my 
own resources and run my stuff locally.


i found https://ask.sagemath.org/question/35772/error-on-display-latex/ .

is it correct that those are my only options to get graphical and 
nicely formatted output? i tried the twisted webserver (sage -n 
sagenb) and that was not so nice.


I do have nice syntax highliting etc in emacs, can i somehow get 
proper error messages and nicely formatted output with sage-shell-mode?

--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-19 Thread henri.gir...@gmail.com

Hi John,

What is the difference between virginal conception and immaculate 
conception ?


I notice that sagemath can even cogitate in philosophy : Really a swiss 
knife ?


I don't believe in spontaneous generation ! lol

Henri

Le 19/03/2019 à 18:38, john_perry_usm a écrit :
Apologies for the pedantry, but unless the indeterminates so generated 
are free of all bugs, then strictly speaking this is not immaculate 
conception; it is spontaneous generation, or perhaps virginal 
conception. ;-)


john perry

On Tuesday, March 19, 2019 at 6:52:19 AM UTC-5, Emmanuel Charpentier 
wrote:


Defining a symbolic function seems to declare its arguments. Case
illustrated in this sagecell example


 :


reset()
Id1=set(show_identifiers())
foo(p,a,b)=p^(a-1)*(1-p)^(b-1)
Id2=set(show_identifiers())
Id2 - Id1

which happily prints :

{'Id1', 'a', 'b', 'foo', 'p'}

Is this expected ?

--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] sage dev in /usr for ubuntu

2019-03-17 Thread henri.gir...@gmail.com
 Thanks, but I solve this by doing a link, I read the doc on 
debian.org, but it's too complicated for what I am doing... Once I have 
done ( https://github.com/aishenri/zip )


visualino_0.7.2-fr-_amd64.deb 
<https://github.com/aishenri/zip/blob/master/visualino_0.7.2-fr-_amd64.deb>


because I converted it in french, very easy, but it's not a real debian, 
no name of maintener, I only want to make sage deb for me to get the 
latest from my sources compilation. Sorry my english is not very good.


Henri

Le 17/03/2019 à 08:43, Vincent Delecroix a écrit :

Le 17/03/2019 à 00:27, henri.gir...@gmail.com a écrit :
My real question is how to make a deb without all this question about 
proprietary software.


I can not understand your real question. What do you mean by
"make a deb"? You mean a Debian package? For that there is the
documentation on debian.org. Then I have no idea what do you mean
"this question about proprietary software".



--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] sage dev in /usr for ubuntu

2019-03-16 Thread henri.gir...@gmail.com
Thank you. I don't like to use /opt. My real question is how to make a 
deb without all this question about proprietary software. Ubuntu has 
sagemath 8.1 in path /usr/lib/sagemath, but sometimes I run my ipynb, by 
clicking on its name, and I thaught it would run sage-8.6 but therefore 
I need to create a link, that's what I will do and uninstall sagemath-8.1


Henri

Le 16/03/2019 à 20:23, Vincent Delecroix a écrit :

Hi,

Unless your Linux distribution is very permissive you should never
access the /usr repo in write mode. The standard place to install
your custom softwares is /opt [1].

 [1] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

Vincent

Le 16/03/2019 à 19:27, HG a écrit :

Hi,
I have ubuntu 18.04 with sagemath-8.1, I use sagemath-8.6 (this one 
is call
from its dir) and I compiled dev sage 8.7, i don't need 3 sage, i 
only want

sage dev ans I wonder if I install it as a normal programm /usr after
./configure --prefix=/usr make and make install if it could work ?
I have no risk on my pc if it's mess I just reinstall a fresh one.
Henri





--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] How to install Python packages into Sage using pip?

2019-03-01 Thread henri.gir...@gmail.com
sage -sh et after pip install librosa --upgrade --user (for your user, 
installing librosa, and upgrade to get the last version)


Be careful to get out after installing software with exit, don't use it 
for something esle it will remain ou anyway...




Le 01/03/2019 à 14:12, Szabolcs Horvát a écrit :

How can I install Python packages into Sage using pip?

A google search reveals several posts suggesting to run sage -sh, then 
use pip install as usual. However, I get:


> pip is configured with locations that require TLS/SSL, however the 
ssl module in Python is not available.


And finally

> Could not fetch URL https://pypi.org/simple/zmq/: There was a 
problem confirming the ssl certificate: 
HTTPSConnectionPool(host='pypi.org', port=443):


Is there a solution?  I am using Sage on macOS (app version).
--
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 post to this group, send email to sage-support@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.