Hello, I just downloaded the binary of Sage 6.2 for Ubuntu 14.04 64-bit. While going through the tutorial, find_root does not work. sage: phi = var('phi') sage: find_root(cos(phi)==sin(phi),0,pi/2) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-7-a4d72c0e34b9> in <module>() ----> 1 find_root(cos(phi)==sin(phi),Integer(0),pi/Integer(2))
/opt/sage-6.2-x86_64-Linux/local/lib/python2.7/site-packages/sage/numerical/optimize.py in find_root(f, a, b, xtol, rtol, maxiter, full_output) 110 a = s 111 --> 112 import scipy.optimize 113 return scipy.optimize.brentq(f, a, b, 114 full_output=full_output, xtol=xtol, rtol=rtol, maxiter=maxiter) /opt/sage-6.2-x86_64-Linux/local/lib/python2.7/site-packages/scipy/__init__.py in <module>() 68 __all__ = ['test'] 69 ---> 70 from numpy import show_config as show_numpy_config 71 if show_numpy_config is None: 72 raise ImportError("Cannot import scipy when running from numpy source directory.") /opt/sage-6.2-x86_64-Linux/local/lib/python2.7/site-packages/numpy/__init__.py in <module>() 135 return loader(*packages, **options) 136 --> 137 import add_newdocs 138 __all__ = ['add_newdocs'] 139 /opt/sage-6.2-x86_64-Linux/local/lib/python2.7/site-packages/numpy/add_newdocs.py in <module>() 7 # core/fromnumeric.py, core/defmatrix.py up-to-date. 8 ----> 9 from numpy.lib import add_newdoc 10 11 ############################################################################### /opt/sage-6.2-x86_64-Linux/local/lib/python2.7/site-packages/numpy/lib/__init__.py in <module>() 11 12 import scimath as emath ---> 13 from polynomial import * 14 #import convertcode 15 from utils import * /opt/sage-6.2-x86_64-Linux/local/lib/python2.7/site-packages/numpy/lib/polynomial.py in <module>() 9 import re 10 import warnings ---> 11 import numpy.core.numeric as NX 12 13 from numpy.core import isscalar, abs, finfo, atleast_1d, hstack, dot AttributeError: 'module' object has no attribute 'core' sage: version() 'Sage Version 6.2, Release Date: 2014-05-06' Any ideas of what could be causing this error? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.