Open an issue in the Live repo about this.

SymPy Live will need some serious refactoring in the near future
anyway in order to keep it up-to-date, since the current setup doesn't
support Python 3. I'm still hopefully that we can replace the backend
completely (this would be a good GSoC project for anyone interested).

Aaron Meurer

On Tue, Jan 14, 2020 at 8:45 AM Chris Smith <smi...@gmail.com> wrote:
>
> I have found that if you use "_" to refer to the last output it causes this 
> problem. Fix: reload and remember not to do that.
>
> On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh (B17CS021) 
> wrote:
>>
>> Hi,
>>
>> I am facing some problems on SymPy Live. I tried executing the example 
>> session on live.sympy.org and the following error was thrown,
>>
>> ```
>> >>> expr = (x + y)**5
>> Traceback (most recent call last): File "<string>", line 1, in <module> File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>>  line 91, in __sympifyit_wrapper return func(a, b) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>>  line 129, in binary_op_wrapper return func(self, other) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>>  line 176, in __add__ return Add(self, other) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
>>  line 94, in wrapper retval = cfunc(*args, **kwargs) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
>>  line 916, in wrapper del cache[oldkey] KeyError: [<class 
>> 'sympy.core.add.Add'>, x, y, <class 
>> 'sympy.core.assumptions.ManagedProperties'>, <class 
>> 'sympy.core.symbol.Symbol'>, <class 'sympy.core.symbol.Symbol'>]
>> ```
>> Can someone help me with this?
>> Thank you.
>
> --
> 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 sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com.

-- 
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 sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BirBEH3Ki-ka9MoG91y%3DcmGRbYqrgYYaxweAkLUsmWJg%40mail.gmail.com.

Reply via email to