| 1 | initial version |
(a) To check the version of Python being used, evaluate these commands:
import sys
sys.version
(b) The SageMath app is self-contained and won't interact with conda installations or other packages on your system. Installing arbitrary packages with the MacOS SageMath app does not seem to be supported: see https://github.com/3-manifolds/Sage_macOS/issues/10, for example.
Installing a pip package like nltk should work, though. You have to do (from a Terminal window):
/path/to/SageMath-9-4.app/Contents/Frameworks/Sage.framework/Versions/9.4/local/bin/sage -pip install --user -U nltk
(The pip invocation is taken from https://www.nltk.org/install.html.)
If you want to use conda packages, then SageMath should be installed via conda rather than with the self-contained app. See https://doc.sagemath.org/html/en/installation/conda.html and https://wiki.sagemath.org/Conda. Then it should see all packages installed by conda.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.