Re: sympy version?

Patrick Dupre <[email protected]> Thu, 27 Jan 2022 21:37:32 +0100
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-9261faa2-4e7c-4a59-81a5-f77b7e88dff2-1643315852188@3c-app-mailcom-bs11>
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

--

DAS

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


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