Ask Your Question

56phil's profile - activity

2021-04-07 17:05:15 +0200 asked a question cannot build gmp using sage.9.3.rc2 source

cannot build gmp using sage.9.3.rc2 source Hello, Tried to build sage and died when make was configuring to building gm

2020-11-23 01:29:42 +0200 received badge  Notable Question (source)
2020-01-16 11:05:55 +0200 received badge  Necromancer (source)
2020-01-16 11:05:55 +0200 received badge  Teacher (source)
2020-01-15 17:03:17 +0200 received badge  Editor (source)
2020-01-15 16:58:43 +0200 answered a question Other than "Jupyter Notebook", is there any other way to use Sage?

If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:

1. download Sage binaries
2. unpack download
3. move SAGE_ROOT to the desired location
4. set SAGE_ROOT and any other environment variables (e.g. SAGE_KEEP_BUILT_SPKGS) in ~/.zshrc
    (a) export SAGE_KEEP_BUILT_SPKGS="yes" 
    (b) export SAGE_NUM_THREADS=3
    (c) export SAGE_ROOT="$HOME/SageMath"
5. Update $PATH by editing /etc/paths Note: You’ll need to use SUDO.
6. cd $SAGE_ROOT && ./sage -i openssl && ./sage -f python3 && make ssl && sage –pip3 install jupyterlab

when all this is done, sage -n jupyterlab, should work.

Update: Avoid updating Python packages using pip. I broke the sage kernal in jupyterlab doing this.

2018-07-26 16:50:04 +0200 received badge  Popular Question (source)
2017-12-14 18:57:11 +0200 received badge  Nice Question (source)
2017-11-03 11:48:36 +0200 answered a question Problems with Sagetex under Texshop

Found that sage.engine was looking for the "app" version of Sage. Changed the path from "/Applications/" to match the actual location of Sage. Now TexShop works with SageMath.

2016-10-20 10:45:14 +0200 received badge  Student (source)
2016-10-19 03:13:59 +0200 asked a question Version Conflict within Sagetex

Hello, I'm running the latest versions of Sage and MacTex under MacOS 10.12 (Sierra). I've copied the new texmf directory to my Library directory. As shown below, things aren't working so well. Any advice on getting SageTex to work again would be most welcome. Thank you.

sagetex.VersionError: versions of .sty and .py files do not match. Primes.sagetex.sage was generated by sagetex.sty version "2012/01/16 v2.3.3-69dcb0eb93de", but is being processed by version "2015/08/26 v3.0-92d9f7a". Please make sure that TeX is using the sagetex.sty from your current version of Sage;

2012-07-17 15:51:33 +0200 received badge  Supporter (source)