Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbolic pkg is not working on my Mac #1043

Closed
FahadSikander opened this issue Mar 23, 2021 · 1 comment
Closed

Symbolic pkg is not working on my Mac #1043

FahadSikander opened this issue Mar 23, 2021 · 1 comment

Comments

@FahadSikander
Copy link

FahadSikander commented Mar 23, 2021

octave:14> pkg load symbolic
octave:15> syms x
Symbolic pkg v2.9.0: Traceback (most recent call last):
  File "<stdin>", line 28, in <module>
AttributeError: '_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: '_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
octave:16> 

I am new in this field. I try to explore the solution on internet but unable to solve this issue. Basically I am a Mathematician and I am new in programming. I appreciate for any help in this regard. I try to downgrade sympy 1.5 but same problem.

@mtmiller
Copy link
Collaborator

This is a duplicate of #1035.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants