| 1 | initial version |
This works in Python2-based Sage, but not yet in Python3-based Sage.
Either you are using Python3-based Sage, or you have Anaconda in your PATH and it is interfering with Sage.
If your Sage is Python2-based, try removing Anaconda from your PATH before you start Sage.
If your Sage is Python3-based, I suggest also having a Python2-based Sage handy.
Currently, SageMath built with Python3 is still work in progress. You have found one place where it is not ready yet. While testing out Python3-based SageMath is encouraged, it is recommended to also have a Python2-based Sage to use when one hits such a limitation.
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.