Jeremy,

Installing Sage 9.4 on macOS 12 on a Mac with an Apple M1
processor might work using sagemath-forge.

To try it:
```
INSTALL_LOCATION=$HOME  # or your choice of location
SITE='https://github.com'
DIRS='isuruf/sagemath-forge/releases/latest/download'
FILE="sagemath-forge-$(uname)-$(uname -m).sh"
cd $INSTALL_LOCATION
curl -L -O $SITE/$DIRS/$FILE
bash $FILE
```

The script then asks a few questions; answering "yes"
each time might work well.

Once sagemath-forge is installed, the underlying Conda can
be activated or deactivated; activating it changes the PATH to
include `/path/to/sagemath-forge/bin` where the executables
installed by Conda are located.

So, to use the version of Sage installed via Conda:
```
$ conda activate

$ which sage
/path/to/sagemath-forge/bin/sage

$ sage
│ SageMath version 9.4, Release Date: 2021-08-22
│ Using Python 3.8.12. Type "help()" for help.
sage: %colors Linux
sage: 2 * 3 * 337
2022
sage: quit
Exiting Sage (CPU time 0m0.12s, Wall time 0m16.08s).

$ conda deactivate
```

To start Jupyter notebook or JupyterLab:
```
$ conda activate
$ jupyter notebook
$ jupyter lab
$ conda deactivate
```

To make Conda always active, add the line
```
conda activate
```
to a file that gets sourced every time you start a shell
(e.g. in `$HOME/.bash_profile` if you use bash, or in the
zsh corresponding file if you use zsh as your shell).

Hope that works for you.   --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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/571157c7-dc6c-4b76-bdc6-770822b1d9f0n%40googlegroups.com.

Reply via email to