help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sympy version?


From: Patrick Dupre
Subject: Re: sympy version?
Date: Thu, 27 Jan 2022 21:37:32 +0100

I just upgraded to ubuntu 20.04.3
 
I compiled Octave  GNU Octave, version 7.0.91  3ca33008c4a9
And installed
     control *|   3.4.0 
    symbolic *|   2.9.0
I get errors when running a program that I wrote and it worked before.
*******************
 
>> wheelsym1

Symbolic pkg v2.9.0: Traceback (most recent call last):
  File "<stdin>", line 28, in <module>
AttributeError: 'pretty_PrintFunction' object has no attribute '__globals__'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 12, in octoutput_drv
  File "<stdin>", line 54, in octoutput
  File "<stdin>", line 55, in octoutput
AttributeError: module 'sympy' has no attribute 'compatibility'
Closing the Python communications link.

error: Python exception: AttributeError: 'pretty_PrintFunction' object has no attribute '__globals__'
    occurred in python_header import block.
    Try "sympref reset" and repeat your command?
    (consider filing an issue at https://github.com/cbm755/octsympy/issues)
error: called from
    pycall_sympy__ at line 191 column 5
    valid_sym_assumptions at line 38 column 10
    assumptions at line 82 column 7
    syms at line 97 column 13
    wheelsym1 at line 2 column 1
>>*****************************
 
Do I need a different sympy version?
Doug
 
 
you may have to use sympy 1.4
 
--
DASCertificate for 206392
 
---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help

reply via email to

[Prev in Thread] Current Thread [Next in Thread]