2017-10-15 03:38:23 +0200 | answered a question | x=var('x') - getting TypeError: cannot perform reduce with flexible type Thank you - I had a similar issue with the f(x) = cos(x) example. In my case, I found the solution in ~/.ipython/profile_default/ipython_config.py, by commenting out the line c.InteractiveShellApp.pylab = 'auto', which also seems to import numpy. |