Re: symbolic package fail (Octave 5.2.0/Symbolic 2.9.0)
José Abílio Matos <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <2781222.e9J7NaK4W3@griffin> |
On Wednesday, June 23, 2021 7:24:35 PM WEST przemek klosowski via Help-octave wrote: > octave-5.2.0-12.fc34.x86_64 > octave-symbolic-2.9.0-5.fc34.noarch > > doesn't work: > > pkg load symbolic > > syms xx > > Symbolic pkg v2.9.0: Traceback (most recent call last): > File "<stdin>", line 28, in <module> > AttributeError: '_PrintFunction' object has no attribute '__globals__' > 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 > > > It's probably some Python 3 integration problem; before I open a > Bugzilla issue for it I thought I'd ask here. Octave symbolic does not work with sympy > 1.5 (we can mostly patch it for 1.6, which I did for Fedora): https://octave.discourse.group/t/problem-running-symbolic-package-v2-9-0-on-macos-and-other-systems-with-sympy-v1-7-1/748/2 BTW by now this should be a FAQ. :-) The previous is just the first occurrence that appeared when searching for it. :-) FWIW most of the question now goes into discourse. Best regards, -- José Matos