Spyder SymPy Wont Print Symbolic Math -


i setup anaconda 2.0.0 (win 64). has sympy 0.7.5.

i configured spyder (2.3.0rc came anaconda) use symbolic math:

tools > preferences > ipython console > advanced settings > symbolic mathematics

i create new project , new file:

# -*- coding: utf-8 -*- sympy import * init_printing(use_unicode=false, wrap_line=false, no_global=true)  x = symbol('x') integrate(x, x)  print("completed.") 

when run (python or ipython console) not print integral -- prints completed.

but weird while in console did run if re-type:

integrate(x, x) 

it print integral.

so running file never prints symbolic math typing in console manually does?

can issue -- maybe sort of configuration?

thank you!

running script not same executing code in ipython. when run code in cell or prompt in ipython, captures output of last command , displays you. when run script, script run, , thing displayed printed screen.

i don't think there way send ipython display object (which needed pretty latex output) script, may misunderstanding how spyder executes code in ipython, or missing hooks has. can try

from ipython.display import display display(integrate(x, x)) 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -