help-octave
[Top][All Lists]
Advanced

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

Re: Symbolic Package Problems


From: Kai Torben Ohlhus
Subject: Re: Symbolic Package Problems
Date: Sun, 21 Feb 2021 13:41:46 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 2/21/21 1:17 PM, Thomas D. Dean wrote:
I can not get symbolic to work either with python 2.7.18 or python3.
Any ideas?

 > PYTHON=python3 octave
GNU Octave, version 6.1.1
Copyright (C) 2020 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> pkg load symbolic
octave:2> x=sym('x')
Symbolic pkg v2.9.0: /usr/local/lib/python3.8/dist-packages/sympy/__init__.py:672: SymPyDeprecationWarning:

importing sympy.core.compatibility with 'from sympy import *' has been
deprecated since SymPy 1.6. Use import sympy.core.compatibility
instead. See https://github.com/sympy/sympy/issues/18245 for more
info.

   self.Warn(
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
  File "/usr/local/lib/python3.8/dist-packages/sympy/__init__.py", line 677, in __getattr__
     return getattr(self.mod, name)
AttributeError: module 'sympy.core.compatibility' has no attribute 'integer_types' Waiting...............warning: readblock: timeout of 30 exceeded, breaking out
warning: called from
     readblock at line 101 column 7
     python_ipc_popen2 at line 99 column 16
     python_ipc_driver at line 62 column 15
     pycall_sympy__ at line 163 column 11
     sym at line 452 column 9

no output so far

error: ipc_popen2: something wrong? timed out starting python
error: called from
     python_ipc_popen2 at line 101 column 7
     python_ipc_driver at line 62 column 15
     pycall_sympy__ at line 163 column 11
     sym at line 452 column 9




You are not alone =) A long standing, well-known problem: https://octave.discourse.group/t/symbolic-package-error-with-sympy-1-6-or-newer/295

HTH,
Kai



reply via email to

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