title: Octave 4.2.2 and sympy 1.6
body: <p>Iam trying to use Octave 4.2.2 with Symbolic pkg v.2.9.0 but I get this error related to sympy package:</p>
  
  <pre><code>Your kit looks good for running the Symbolic package.  Happy hacking!
  
  &gt;&gt;
  &gt;&gt; syms
  Symbolic variables in current scope:
  &gt;&gt; a = sym( "a" );
  Symbolic pkg v2.9.0: /home/usuario/.local/lib/python3.6/site-packages/sympy/__init__.py:676: 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.
  
    deprecated_since_version="1.6").warn()
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "&lt;stdin&gt;", line 12, in octoutput_drv
    File "&lt;stdin&gt;", line 54, in octoutput
    File "&lt;stdin&gt;", line 55, in octoutput
    File "/home/usuario/.local/lib/python3.6/site-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 14
      python_ipc_driver at line 62 column 13
      pycall_sympy__ at line 163 column 9
      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 13
      pycall_sympy__ at line 163 column 9
      sym at line 452 column 9
  &gt;&gt; a
  error: 'a' undefined near line 1 column 1
  &gt;&gt;
  </code></pre>
  
  <p>I dig into code and find this two references:</p>
  
  <p><a href="https://github.com/sympy/sympy/pull/18245" rel="noreferrer">https://github.com/sympy/sympy/pull/18245</a>
  <a href="https://github.com/sympy/sympy/pull/19316" rel="noreferrer">https://github.com/sympy/sympy/pull/19316</a></p>
  
  <p>But Iam not a programmer so any idea is greatly appreciated.</p>
  
  <p>I tried to uninstall sympy-1.6 and install sympy-1.5 but that doesn't work.</p>
  
  <p>Thanks for your time.</p>
  
  <p>Daniel</p>