3.9 Using Optional Packages

If a function requires an optional package, that function should fail gracefully -- perhaps using a try and except block -- when the optional package is not available, and should give a hint about how to install it. For example, typing sage -optional gives a list of all optional packages, so it might suggest to the user that they type that. The command optional_packages() from within Sage also returns this list.

See About this document... for information on suggesting changes.