1 | initial version |
If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:
when all this is done, try sage -n Jupyterlab
2 | No.2 Revision |
If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:
when all this is done, try sage -n Jupyterlab
3 | No.3 Revision |
If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:
1.
download and unpack Sage when all this is done, try sage -n Jupyterlab
4 | No.4 Revision |
If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:
1. download and unpack Sage binaries
2. move the SAGE_ROOT folder to the desired location
3. set the 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="/Users/$HOME/SageMath"
4. Update PATH by editing /etc/paths Note: You’ll need to use SUDO.
/Users/philhuffman/SageMath/local/bin
/Users/<HOME>/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/philhuffman/SageMath
/Users/<HOME>/SageMath
5. cd $SAGE_ROOT &&
./sage -i openssl &&
./sage -f python3 &&
make ssl &&
sage –pip install jupyterlab
when all this is done, try sage -n Jupyterlab, should work.
5 | No.5 Revision |
If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:
1.
/Users/<home>/SageMath/local/bin
/usr/local/bin /usr/local/sbin /usr/bin /bin /usr/sbin /sbinwhen all this is done, sage -n Jupyterlabjupyterlab, should work.
6 | No.6 Revision |
If one wants to use Sage in Jupyterlab on macOS Catalina 10.15.1 (19B88), this worked for me:
1.
download /Users/<home>/SageMath/local/bin
when all this is done, sage -n jupyterlab, should work.
7 | No.7 Revision |
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="/Users/$HOME/SageMath"
SAGE_ROOT="$HOME/SageMath"
5. Update $PATH by editing /etc/paths Note: You’ll need to use SUDO.
/Users/philhuffman/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/philhuffman/SageMath
6. cd $SAGE_ROOT && ./sage -i openssl && ./sage -f python3 && make ssl && sage –pip install jupyterlab
when all this is done, sage -n jupyterlab, should work.
8 | No.8 Revision |
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.
/Users/philhuffman/SageMath/local/bin
<$HOME>/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/philhuffman/SageMath
<$HOME>/SageMath
6. cd $SAGE_ROOT && ./sage -i openssl && ./sage -f python3 && make ssl && sage –pip install jupyterlab
when all this is done, sage -n jupyterlab, should work.
9 | No.9 Revision |
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.
<$HOME>/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
<$HOME>/SageMath
6. cd $SAGE_ROOT && ./sage -i openssl && ./sage -f python3 && make ssl && sage –pip install jupyterlab
when all this is done, sage -n jupyterlab, should work.
10 | No.10 Revision |
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.
<$HOME>/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
<$HOME>/SageMath
6. cd $SAGE_ROOT && ./sage -i openssl && ./sage -f python3 && make ssl && sage –pip –pip3 install jupyterlab
when all this is done, sage -n jupyterlab, should work.
11 | No.11 Revision |
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.
<$HOME>/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
<$HOME>/SageMath
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 sage in jupyterlab doing this.
12 | No.12 Revision |
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.
<$HOME>/SageMath/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
<$HOME>/SageMath
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.