installation guide

134 views
Skip to first unread message

dantetante

unread,
May 21, 2019, 3:09:35 AM5/21/19
to sage-devel
Hi list,
I'm quite new to sage and just read the installation guide of sage 8.7; I found the chapter >>install from conda forge<< and found the command >>source activate sage<<; this should be changed to >>conda activate sage<< (see e.g. here: https://stackoverflow.com/questions/49600611/python-anaconda-should-i-use-conda-activate-or-source-activate-in-linux);

where do I have to report this?

dantetante

Samuel Lelievre

unread,
Jun 8, 2019, 9:48:07 AM6/8/19
to sage-devel
Tue 2019-05-21 07:09:35 UTC, dantetante:
I'm quite new to sage and just read the installation guide of sage 8.7; I found the chapter >>install from conda forge<< and found the command >>source activate sage<<; this should be changed to >>conda activate sage<< (see e.g. here: https://stackoverflow.com/questions/49600611/python-anaconda-should-i-use-conda-activate-or-source-activate-in-linux);

where do I have to report this?

Thanks for reporting. This is now tracked at

- Sage Trac ticket 27950
  Replace source activate by conda activate in conda install guide

Dima Pasechnik

unread,
Jun 9, 2019, 4:24:51 AM6/9/19
to sage-devel
How long should it take to do "conda create -n sage sage" step?
I see it running for an hour already...

Thanks,
Dima


> dantetante
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/20afe0c7-0999-4eb0-ab63-5a3288b7294c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Isuru Fernando

unread,
Jun 10, 2019, 1:21:47 AM6/10/19
to sage-devel
Hi,

The sage package is outdated at the moment. conda-forge upgraded the compilers which resulted in new compiler runtime ABIs, but unfortunately sagelib has not been upgraded yet. I hope this will be fixed at the end of this month. (And also update from 8.3 to 8.8)

To get the sage package working, you have to currently do the following.

conda create -n sage sage python=2 -c "conda-forge/label/cf201901" -c defaults --override-channels

It takes 5 minutes for me. Hopefully, "conda create -n sage sage" will work soon.

Thanks,
Isuru


Samuel Lelièvre

unread,
Jun 10, 2019, 6:02:46 AM6/10/19
to Sage-devel
Mon 2019-06-10, Isuru Fernando:
>
> The sage package is outdated at the moment. conda-forge upgraded
> the compilers which resulted in new compiler runtime ABIs, but
> unfortunately sagelib has not been upgraded yet. I hope this will be
> fixed at the end of this month. (And also update from 8.3 to 8.8).
>
> To get the sage package working, you have to currently do the following.
>
> conda create -n sage sage python=2 \
> -c "conda-forge/label/cf201901" \
> -c defaults --override-channels
>
> It takes 5 minutes for me. Hopefully, "conda create -n sage sage" will work soon.

Dear Isuru,

thanks immensely for your work packaging a lot of math software for Conda.

Is it possible to get a Python3-based SageMath in Conda?

Samuel

Isuru Fernando

unread,
Jun 10, 2019, 10:10:54 PM6/10/19
to sage-devel
Yes, change python=2 to python=3 in above command and it should work. Note that it would give you 8.3 and python3 support was not good compared to latest
version.

Isuru


Samuel


--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
Reply all
Reply to author
Forward
0 new messages