3-manifolds / Sage_macOS

SageMath as a macOS application bundle.
152 stars 15 forks source link

Improve `sage -i` error message #38

Closed slel closed 2 years ago

slel commented 2 years ago

Would it make sense for the error message to suggest that some packages can be installed using pip?

Current:

$ sage -i dot2tex
Sorry, this binary distribution does not support installing sage packages.

Proposed:

$ sage -i dot2tex
Sorry, Sage-macOS does not support installing extra packages with `sage -i`.
If dot2tex is pip-installable, run from within Sage: `%pip install dot2tex`.
If you need non-pip-installable packages, consider building Sage from source.
culler commented 2 years ago

The updated message is used in the upcoming 9.6 release, so I am closing this ticket now.