Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/evilmorty/Documents/sympy/sympy/stats/rv_interface.py", line 73, in variance

return cmoment(X, 2, condition, **kwargs)


 "/home/evilmorty/Documents/sympy/sympy/stats/rv_interface.py", line 229, in cmoment

return CentralMoment(X, n, condition).doit()


 "/home/evilmorty/Documents/sympy/sympy/stats/symbolic_probability.py", line 669, in doit

return self.rewrite(Expectation).doit(**hints)


 "/home/evilmorty/Documents/sympy/sympy/core/basic.py", line 1769, in rewrite

return self._eval_rewrite(None, rule, **hints)


 "/home/evilmorty/Documents/sympy/sympy/core/basic.py", line 1688, in _eval_rewrite

rewritten = getattr(self, rule)(*args, **hints)


 "/home/evilmorty/Documents/sympy/sympy/stats/symbolic_probability.py", line 673, in _eval_rewrite_as_Expectation

return Moment(X, n, mu, condition, **kwargs).rewrite(Expectation)


 "/home/evilmorty/Documents/sympy/sympy/core/basic.py", line 1769, in rewrite

return self._eval_rewrite(None, rule, **hints)


 "/home/evilmorty/Documents/sympy/sympy/core/basic.py", line 1688, in _eval_rewrite

rewritten = getattr(self, rule)(*args, **hints)


 "/home/evilmorty/Documents/sympy/sympy/stats/symbolic_probability.py", line 615, in _eval_rewrite_as_Expectation

return Expectation((X - c)**n, condition)


 "/home/evilmorty/Documents/sympy/sympy/matrices/expressions/matexpr.py", line 28, in __sympifyit_wrapper

return func(a, b)


 "/home/evilmorty/Documents/sympy/sympy/core/decorators.py", line 137, in binary_op_wrapper

return func(self, other)


 "/home/evilmorty/Documents/sympy/sympy/matrices/expressions/matexpr.py", line 115, in __sub__

return MatAdd(self, -other, check=True).doit()


 "/home/evilmorty/Documents/sympy/sympy/matrices/expressions/matexpr.py", line 97, in __neg__

return MatMul(S.NegativeOne, self).doit()


 "/home/evilmorty/Documents/sympy/sympy/matrices/expressions/matmul.py", line 172, in doit

args = [arg.doit(**kwargs) for arg in self.args]


 "/home/evilmorty/Documents/sympy/sympy/matrices/expressions/matmul.py", line 172, in <listcomp>

args = [arg.doit(**kwargs) for arg in self.args]


 "/home/evilmorty/Documents/sympy/sympy/stats/symbolic_probability.py", line 275, in doit

result = pspace(expr).compute_expectation(expr, evaluate=for_rewrite)
TypeError: compute_expectation() got an unexpected keyword argument 'evaluate'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python2.7/site-packages/pydicom-0.9.9-py2.7.egg/dicom/dataset.py", line 417, in pixel_array

return self._get_pixel_array()


 "/usr/local/lib/python2.7/site-packages/pydicom-0.9.9-py2.7.egg/dicom/dataset.py", line 409, in _get_pixel_array

self._pixel_array = self._pixel_data_numpy()


 "/usr/local/lib/python2.7/site-packages/pydicom-0.9.9-py2.7.egg/dicom/dataset.py", line 349, in _pixel_data_numpy

raise TypeError("No pixel data found in this dataset.")
TypeError: No pixel data found in this dataset.
