[Top][All Lists]

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

Re: sympy version?

From: Doug Stewart
Subject: Re: sympy version?
Date: Thu, 27 Jan 2022 15:54:44 -0500

Thanks but:
SymPy must be at least version 1.2; you have version 1.9.

Good, a working version of SymPy is installed.

But I still get the same error.

I attached the file that I am trying to run.

On Thu, Jan 27, 2022 at 3:37 PM Patrick Dupre <> wrote:
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
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?
you may have to use sympy 1.4
DASCertificate for 206392
---------- We are transitioning to a web based forum for community help discussions at

DASCertificate for 206392

Attachment: wheelsym1.m
Description: Text Data

reply via email to

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