Yes More details... my app is web2py based and I'm importing sympy as a module. The weird thing is that it works in local. I attach my app.yaml.
Thanks for the reply. El lunes, 24 de junio de 2013 22:23:31 UTC+2, Aaron Meurer escribió: > > Are you using Python 2.7 in the App Engine? > > Aaron Meurer > > On Mon, Jun 24, 2013 at 2:03 PM, peibol <[email protected] <javascript:>> > wrote: > > Hi there, some update in my progress. I've managed to run the sympy-live > in > > my appengine, so it's clear that not only sympify work in GAE, but the > full > > sympy. > > > > But I don't know how to made the imports in order to make sympy work in > my > > app, which in local works fine. Are there any dependences that I'm > missing? > > > > Thanks! > > > > > > El lunes, 24 de junio de 2013 10:07:49 UTC+2, peibol escribió: > >> > >> Hi all > >> When running in GAE, i get the error "Cannot import module simpify", > while > >> in local it runs great. Is any other way to proceed with sympy without > >> making use of simpify? I've read it's a parser problem here, but I'm > missing > >> something beacuse for example the sympy live runs on GAE. > >> > >> More details about what I need to do. I want to make math worksheets, > so I > >> need to deal with algebraic expressions and then susbtitute variables > by > >> concrete values, both to calculate the result and to print the latex > >> expression. Here is an example to print 1/2+2/4 from the expression > a/b+c/d > >> and calculating the result (3/4) > >> > >> > >> a,b,c,d = symbols('a b c d') > >> fvars = [a,b,c,d] > >> values = [1,4,2,4] > >> exp=sympify('a/b + c/d') > >> res=nsimplify(exp.evalf(subs = dict(zip(fvars,values)))) #this is the > >> result: 3/4 > >> a = sympify(1) > >> b = sympify(4) > >> c = sympify(2) > >> d = sympify(4) > >> > >> exp=exp.subs([(var, Symbol("%s" % i)) for var, i in zip(fvars, > values)]) > >> straux=urllib.quote(printing.latex(exp)) > >> > >> strchart=' > http://chart.apis.google.com/chart?cht=tx&chs=140x50&chf=bg,s,FFFFFF00&chl=' > > >> + straux > >> > > -- > > You received this message because you are subscribed to the Google > Groups > > "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/sympy. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
app.yaml
Description: Binary data
