sympy version?

Doug Stewart <[email protected]> Thu, 27 Jan 2022 14:57:36 -0500
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAAohRsbU-S88f9zEkRyxGoTtaZ-jPEfXMrNT-EvvrFShvDOgpA@mail.gmail.com>
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


-- 
DAS[image: Certificate for 206392]

<https://linuxcounter.net/user/206392.html>


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help